Created
October 11, 2011 08:11
-
-
Save pierredewilde/1277540 to your computer and use it in GitHub Desktop.
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
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] >nul | |
# 0.6 | |
real 0m48.420s | |
user 0m2.052s | |
sys 0m0.841s | |
# 0.7-SNAPSHOT | |
real 0m20.769s | |
user 0m1.999s | |
sys 0m0.824s | |
time curl -s http://localhost:8182/graphs/gratefulgraph/vertices?rexster.offset.start=[0-808] >nul | |
# 0.6 | |
real 0m34.156s | |
user 0m0.168s | |
sys 0m0.334s | |
# 0.7-SNAPSHOT | |
real 0m6.561s | |
user 0m0.172s | |
sys 0m0.340s | |
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.410s | |
user 0m0.326s | |
sys 0m0.441s | |
# 0.7-SNAPSHOT | |
real 0m2.896s | |
user 0m0.256s | |
sys 0m0.277s | |
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 0m5.294s | |
user 0m0.249s | |
sys 0m0.280s | |
# 0.7-SNAPSHOT | |
real 0m2.795s | |
user 0m0.253s | |
sys 0m0.273s | |
Blueprints-rexster-graph | |
First, enable test by editing pom.xml | |
<!-- REXSTERGRAPH TEST PROPERTIES --> | |
<property> | |
<name>testRexsterGraph</name> | |
<value>true</value> | |
</property> | |
~/Documents/_GraphDatabases/_Tinkerpop/_release/blueprints/blueprints-rexster-graph$ mvn test | |
# Blueprints-RexsterGraph 1.0 with Rexster 0.6 running | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 400.124 sec | |
~/Documents/_GraphDatabases/_Tinkerpop/_snapshot/blueprints/blueprints-rexster-graph$ mvn test | |
# Blueprints-RexsterGraph 1.1-SNAPSHOT with Rexster 0.7-SNAPSHOT running | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 202.062 sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment