Last active
January 3, 2016 10:49
-
-
Save jexp/8452037 to your computer and use it in GitHub Desktop.
ab test of neo4j cypher endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ab -n 1000 -c 1 -T application/json -H accept:application/json -H X-Stream:true -p /Users/mh/trash/perf_test_old.json http://127.0.0.1:7474/db/data/cypher | |
| Benchmarking 127.0.0.1 (be patient) | |
| Completed 100 requests | |
| Completed 200 requests | |
| Completed 300 requests | |
| Completed 400 requests | |
| Completed 500 requests | |
| Completed 600 requests | |
| Completed 700 requests | |
| Completed 800 requests | |
| Completed 900 requests | |
| Completed 1000 requests | |
| Finished 1000 requests | |
| Server Software: Jetty(9.0.5.v20130815) | |
| Server Hostname: 127.0.0.1 | |
| Server Port: 7474 | |
| Document Path: /db/data/cypher | |
| Document Length: 24 bytes | |
| Concurrency Level: 1 | |
| Time taken for tests: 5.831 seconds | |
| Complete requests: 1000 | |
| Failed requests: 0 | |
| Write errors: 0 | |
| Total transferred: 167000 bytes | |
| Total POSTed: 563000 | |
| HTML transferred: 24000 bytes | |
| Requests per second: 171.49 [#/sec] (mean) | |
| Time per request: 5.831 [ms] (mean) | |
| Time per request: 5.831 [ms] (mean, across all concurrent requests) | |
| Transfer rate: 27.97 [Kbytes/sec] received | |
| 94.29 kb/s sent | |
| 122.26 kb/s total | |
| Connection Times (ms) | |
| min mean[+/-sd] median max | |
| Connect: 0 0 0.1 0 2 | |
| Processing: 4 6 1.4 5 17 | |
| Waiting: 1 2 0.8 2 10 | |
| Total: 4 6 1.5 5 18 | |
| Percentage of the requests served within a certain time (ms) | |
| 50% 5 | |
| 66% 6 | |
| 75% 6 | |
| 80% 6 | |
| 90% 7 | |
| 95% 9 | |
| 98% 11 | |
| 99% 12 | |
| 100% 18 (longest request) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ab -n 1000 -c 1 -T application/json -H accept:application/json -H X-Stream:true -p /Users/mh/trash/perf_test.json http://127.0.0.1:7474/db/data/transaction/commit | |
| Benchmarking 127.0.0.1 (be patient) | |
| Completed 100 requests | |
| Completed 200 requests | |
| Completed 300 requests | |
| Completed 400 requests | |
| Completed 500 requests | |
| Completed 600 requests | |
| Completed 700 requests | |
| Completed 800 requests | |
| Completed 900 requests | |
| Completed 1000 requests | |
| Finished 1000 requests | |
| Server Software: Jetty(9.0.5.v20130815) | |
| Server Hostname: 127.0.0.1 | |
| Server Port: 7474 | |
| Document Path: /db/data/transaction/commit | |
| Document Length: 50 bytes | |
| Concurrency Level: 1 | |
| Time taken for tests: 5.523 seconds | |
| Complete requests: 1000 | |
| Failed requests: 0 | |
| Write errors: 0 | |
| Total transferred: 190000 bytes | |
| Total POSTed: 600000 | |
| HTML transferred: 50000 bytes | |
| Requests per second: 181.08 [#/sec] (mean) | |
| Time per request: 5.523 [ms] (mean) | |
| Time per request: 5.523 [ms] (mean, across all concurrent requests) | |
| Transfer rate: 33.60 [Kbytes/sec] received | |
| 106.10 kb/s sent | |
| 139.70 kb/s total | |
| Connection Times (ms) | |
| min mean[+/-sd] median max | |
| Connect: 0 0 0.2 0 5 | |
| Processing: 4 5 1.3 5 15 | |
| Waiting: 4 5 1.3 5 15 | |
| Total: 4 5 1.4 5 15 | |
| Percentage of the requests served within a certain time (ms) | |
| 50% 5 | |
| 66% 5 | |
| 75% 6 | |
| 80% 6 | |
| 90% 7 | |
| 95% 8 | |
| 98% 10 | |
| 99% 12 | |
| 100% 15 (longest request) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"statements":[ | |
| {"statement":"CREATE (x:user { email: {param0}, name: {param1}, displayname: {param2}, id: {param3}, href: {param4}, object: {param5} }) CREATE x-[:LOGIN]->(:login { password: {param6}, salt: {param7} } )", | |
| "parameters":{"param0":"foo@bar.com","param1":"John Doe","param2":"John Doe","param3":12344,"param4":"http://foo.com/foo/bar/bar","param5":"an object","param6":"password","param7":"2342"}}]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"query":"CREATE (x:user { email: {param0}, name: {param1}, displayname: {param2}, id: {param3}, href: {param4}, object: {param5} }) CREATE x-[:LOGIN]->(:login { password: {param6}, salt: {param7} } )", | |
| "params":{"param0":"foo@bar.com","param1":"John Doe","param2":"John Doe","param3":12344,"param4":"http://foo.com/foo/bar/bar","param5":"an object","param6":"password","param7":"2342"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment