Created
September 29, 2011 15:57
-
-
Save spmallette/1251074 to your computer and use it in GitHub Desktop.
rexster performance
This file contains 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
# first curl "warms" the service...second curl is the timed test | |
curl -s http://localhost:8182/graphs/gratefulgraph/{vertices/1,edges/0} | |
time curl -s http://localhost:8182/graphs/gratefulgraph/vertices/[0-808] http://localhost:8182/graphs/gratefulgraph/edges/[0-8048] | |
# 0.6 | |
real 0m34.979s | |
user 0m1.170s | |
sys 0m0.690s | |
# 0.7-SNAPSHOT | |
real 0m13.631s | |
user 0m0.900s | |
sys 0m0.780s | |
time curl -s http://localhost:8182/graphs/gratefulgraph/vertices?rexster.offset.start=[0-808] | |
# 0.6 | |
real 1m16.048s | |
user 0m0.110s | |
sys 0m0.580s | |
# 0.7-SNAPSHOT | |
real 1m3.957s | |
user 0m0.150s | |
sys 0m0.700s | |
time curl -v -X POST -H "Content-Type:application/json" -d '{name:"willa",what:1,time:"x"}' http://localhost:8182/graphs/emptygraph/vertices/[0-1000] | |
# 0.6 | |
real 0m5.605s | |
user 0m0.130s | |
sys 0m0.220s | |
# 0.7-SNAPSHOT | |
real 0m2.760s | |
user 0m0.190s | |
sys 0m0.140s | |
curl -v -X POST -H "Content-Type:application/json" -d '{name:"willa",what:1,time:"x"}' http://localhost:8182/graphs/emptygraph/vertices/[0-1] | |
time curl -v -X POST -H "Content-Type:application/json" -d '{_inV=0, _outV=1, _label="f", name:"willa",what:1,time:"x"}' http://localhost:8182/graphs/emptygraph/edges/[0-1000] | |
# 0.6 | |
real 0m4.823s | |
user 0m0.120s | |
sys 0m0.190s | |
# 0.7-SNAPSHOT | |
real 0m2.753s | |
user 0m0.100s | |
sys 0m0.230s |
This file contains 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
>blueprints/blueprints-rexster-graph/mvn test | |
0.6 | |
------------------------------------------------------------------------------- | |
Test set: com.tinkerpop.blueprints.pgm.impls.rexster.RexsterGraphTest | |
------------------------------------------------------------------------------- | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 234.258 sec | |
0.7-SNAPSHOT | |
------------------------------------------------------------------------------- | |
Test set: com.tinkerpop.blueprints.pgm.impls.rexster.RexsterGraphTest | |
------------------------------------------------------------------------------- | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.147 sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment