basho / basho_bench

A load-generation and testing tool for basically whatever you can write a returning Erlang function for.
Apache License 2.0
311 stars 197 forks source link

Use parameterized queries to improve performance as typical Cassandra application would. Fix bad matches in query result cases. #158

Closed JeetKunDoug closed 9 years ago

slfritchie commented 9 years ago

Doug, I see a couple of new warnings:

src/basho_bench_driver_cassandra_cql.erl:150: Warning: function hex/1 is unused
src/basho_bench_driver_cassandra_cql.erl:155: Warning: function bin_to_hexstr/1 is unused
JeetKunDoug commented 9 years ago

@slfritchie thanks - I removed the (now unused) functions - passing binaries as parameters, rather than embedding the hex in strings in the query text removed the need for them.