3 test_description='ruby bindings'
5 . $(dirname "$0")/perf-test-lib.sh || exit 1
7 if [ "${NOTMUCH_HAVE_RUBY_DEV}" = "0" ]; then
8 echo "missing prerequisites: ruby development files"
14 time_run 'print all messages' "$NOTMUCH_RUBY -I '$NOTMUCH_BUILDDIR/bindings/ruby' <<'EOF'
16 db = Notmuch::Database.new('$MAIL_DIR')
18 db.query('').search_messages.each do |msg|