Skip to content

Instantly share code, notes, and snippets.

@oza
Created November 8, 2011 05:11
Show Gist options
  • Save oza/1347060 to your computer and use it in GitHub Desktop.
Save oza/1347060 to your computer and use it in GitHub Desktop.
q4m performance test2
~/build/q4m-0.9.5$ USE_C_CLIENT=1 MESSAGES=400000 CONCURRENCY=130 DBI='dbi:mysql:test;mysql_socket=/var/run/mysqld/mysqld.sock;user=root;password=root' t/05-multireader.t
1..4
ok 1 - check number of messages
ok 2 - min value of received message
ok 3 - max value of received message
ok 4 - should have no rows in table
Multireader benchmark result:
Number of messages: 400000
Number of readers: 130
Elapsed: 56.373 seconds
Throughput: 7095.559 mess./sec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment