|
|
fab678e456
|
Add LabelContext to the docs
|
2015-10-30 17:57:07 -04:00 |
|
|
|
58a735f329
|
fix gremlin test, add reversal test
|
2015-10-30 17:42:16 -04:00 |
|
|
|
283aca83c2
|
Expose LabelContext in gremlin
|
2015-10-30 17:17:57 -04:00 |
|
|
|
539bd9b272
|
fix building Or iterator, add test
|
2015-10-29 17:26:21 -04:00 |
|
|
|
f74051a520
|
Rewrite Gremlin's buildIterator in terms of paths
|
2015-10-28 21:26:29 -04:00 |
|
|
|
b91b7ab824
|
bring the path test in line with the gremlin test, add Back()
|
2015-10-28 19:15:57 -04:00 |
|
Allon Hadaya
|
35a96a3a81
|
Update in and out predicates to use unique iterator.
|
2015-04-26 17:49:51 -04:00 |
|
Allon Hadaya
|
f775756ad1
|
Alpha attempt at in and out predicates.
|
2015-04-26 17:49:51 -04:00 |
|
Jonathan Fuerst
|
00cd5f22c6
|
Changed gremlin_test.go to use data/testdata.nq
gremlin_test.nt is not necessary anymore
-- actually it was not used before ;-)
|
2015-04-23 15:14:00 +02:00 |
|
Jonathan Fuerst
|
e851864576
|
changed to new testdata file that is now used throughout the documentation
|
2015-04-22 17:05:38 +02:00 |
|
kortschak
|
21c2d75d07
|
Make query/... interfaces more idiomatic
Also revert the data type returned by queries to interface{} (the change
made sense at the time).
|
2015-02-10 10:56:03 +10:30 |
|
|
|
c2fab568c7
|
Merge pull request #153 from mataevs/exceptop
Except/Not Operator for Gremlin.
|
2015-02-05 20:38:19 -05:00 |
|
kortschak
|
d6191ba468
|
Add test for issue 160
|
2014-09-23 09:19:51 +09:30 |
|
Matei Chiperi
|
a718130f4a
|
Merge branch 'master' of https://github.com/google/cayley into operators
Conflicts:
query/gremlin/build_iterator.go
|
2014-09-08 17:04:48 -07:00 |
|
Matei Chiperi
|
55d235bd55
|
Added Gremlin tests for the Except operator.
|
2014-08-28 18:56:06 -07:00 |
|
kortschak
|
443a091b72
|
Rename triple entities were relevant
|
2014-08-27 21:27:01 +09:30 |
|
kortschak
|
1faa8b1727
|
Fix build
|
2014-08-26 14:30:10 +09:30 |
|
|
|
3770190db5
|
test clean
|
2014-08-10 20:10:00 -04:00 |
|
kortschak
|
6acfdcc5d6
|
Use concrete value for quad.Quad
Comparison of -short benchmarks in cayley.
$ benchcmp pointer.bench concrete.bench
benchmark old ns/op new ns/op delta
BenchmarkNamePredicate 1673276 1655093 -1.09%
BenchmarkLargeSetsNoIntersection 318985907 261499984 -18.02%
BenchmarkNetAndSpeed 104403743 41516981 -60.23%
BenchmarkKeanuAndNet 17309258 16857513 -2.61%
BenchmarkKeanuAndSpeed 20159161 19282833 -4.35%
Comparison of pathological cases are not so happy.
benchmark old ns/op new ns/op delta
BenchmarkVeryLargeSetsSmallIntersection 55269775527 246084606672 +345.24%
BenchmarkHelplessContainsChecker 23436501319 24308906949 +3.72%
Profiling the worst case:
Pointer:
Total: 6121 samples
1973 32.2% 32.2% 1973 32.2% runtime.findfunc
773 12.6% 44.9% 773 12.6% readvarint
510 8.3% 53.2% 511 8.3% step
409 6.7% 59.9% 410 6.7% runtime.gentraceback
390 6.4% 66.2% 391 6.4% pcvalue
215 3.5% 69.8% 215 3.5% runtime.funcdata
181 3.0% 72.7% 181 3.0% checkframecopy
118 1.9% 74.6% 119 1.9% runtime.funcspdelta
96 1.6% 76.2% 96 1.6% runtime.topofstack
76 1.2% 77.5% 76 1.2% scanblock
Concrete:
Total: 25027 samples
9437 37.7% 37.7% 9437 37.7% runtime.findfunc
3853 15.4% 53.1% 3853 15.4% readvarint
2366 9.5% 62.6% 2366 9.5% step
2186 8.7% 71.3% 2186 8.7% runtime.gentraceback
1816 7.3% 78.5% 1816 7.3% pcvalue
1016 4.1% 82.6% 1016 4.1% runtime.funcdata
859 3.4% 86.0% 859 3.4% checkframecopy
506 2.0% 88.1% 506 2.0% runtime.funcspdelta
410 1.6% 89.7% 410 1.6% runtime.topofstack
303 1.2% 90.9% 303 1.2% runtime.newstack
|
2014-08-05 23:25:02 +09:30 |
|
kortschak
|
bf3ac2be9e
|
Destutter gremlin.GremlinResult
|
2014-08-02 22:58:33 +09:30 |
|
kortschak
|
401c58426f
|
Create quads hierarchy
* Move nquads into quad.
* Create cquads simplified parser in quad.
* Move Triple (renamed Quad) to quad.
Also made sure mongo actually implements BulkLoader.
|
2014-07-28 21:36:22 +09:30 |
|
Jeremy Jay
|
a6dc5c9532
|
fix tests for new method names
|
2014-07-18 14:09:57 -04:00 |
|
kortschak
|
c2fd33f9d0
|
Fix missed test messages
|
2014-07-03 17:55:22 +09:30 |
|
|
|
1f67913ed9
|
fix test
|
2014-07-02 14:05:34 -04:00 |
|
kortschak
|
ef7c793510
|
Use table driven test
This simplifies reasoning about the tests by not hiding logic behind a
DSL.
|
2014-07-02 21:57:31 +09:30 |
|