Skip to content
Quick and dirty benchmarks for clojure elasticsearch clients
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
resources
src/bench_es
.gitignore
README.md
project.clj

README.md

bench-es

Quick and dirty benchmarks for clojure elasticsearch clients

Usage

Takes a big chunk of texts, splits it in 140 words chunks, indexes each chunk, gets each doc from index, searches for the 25th word of each chunk.

On my machine with sample text document (War and Peace: resources/pg2600.txt => 4039 docs):

# run with clj-elasticsearch version 0.4.0
lein with-profile new run resources/pg2600.txt native
#=> ~9s

# run with clj-elasticsearch version 0.3.3
lein with-profile old run resources/pg2600.txt native
#=> ~9s

# run with rest client (elastish version 1.0.2)
lein with-profile new run resources/pg2600.txt rest
#=> ~51s

License

Copyright © 2013 Nils Grunwald

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.