@@ -211,35 +211,36 @@ This is the result of the benchmark:
211211<!-- benchmark_begin -->
212212``` text
213213 user
214- insert 20000 facts 0.637574
215- export 20000 facts 0.019855
216- import 410750 bytes (20000 facts) 0.035065
217- insert 10 facts 0.044615
218- query 10 times w/txn 2.455739
219- query 10 times w/o txn 0.050423
220- modify 10 attrs w/txn 1.894240
221- delete 10 facts w/txn 1.043079
222- (and (eq what 'issue-was-closed') (exists... -> 200 1.279827
223- (and (eq what 'issue-was-closed') (exists... -> 200/txn 1.263302
224- (and (eq what 'issue-was-closed') (exists... -> zero 1.253773
225- (and (eq what 'issue-was-closed') (exists... -> zero/txn 1.292489
226- (gt time '2024-03-23T03:21:43Z') 0.398074
227- (gt cost 50) 0.254020
228- (eq title 'Object Thinking 5000') 0.037238
229- (and (eq foo 42.998) (or (gt bar 200) (absent z... 0.047599
230- (and (exists foo) (not (exists blue))) 1.115156
231- (eq id (agg (always) (max id))) 0.711832
232- (join "c<=cost,b<=bar" (eq id (agg (always) (ma... 1.393622
233- (and (eq what "foo") (join "w<=what" (and (eq i... 7.428505
234- delete! 0.272962
235- Taped.append() x50000 0.020619
236- Taped.each() x125 1.721876
237- Taped.delete_if() x375 0.844673
214+ insert 20000 facts 0.614062
215+ export 20000 facts 0.018029
216+ import 410955 bytes (20000 facts) 0.032412
217+ insert 10 facts 0.042905
218+ query 10 times w/txn 2.320974
219+ query 10 times w/o txn 0.049776
220+ modify 10 attrs w/txn 1.910357
221+ delete 10 facts w/txn 0.927656
222+ (and (eq what 'issue-was-closed') (exists... -> 200 1.209031
223+ (and (eq what 'issue-was-closed') (exists... -> 200/txn 1.238875
224+ (and (eq what 'issue-was-closed') (exists... -> zero 1.192538
225+ (and (eq what 'issue-was-closed') (exists... -> zero/txn 1.232053
226+ transaction rollback on factbase with 100000 facts 0.225340
227+ (gt time '2024-03-23T03:21:43Z') 0.318466
228+ (gt cost 50) 0.208891
229+ (eq title 'Object Thinking 5000') 0.053002
230+ (and (eq foo 42.998) (or (gt bar 200) (absent z... 0.054556
231+ (and (exists foo) (not (exists blue))) 1.584673
232+ (eq id (agg (always) (max id))) 2.677618
233+ (join "c<=cost,b<=bar" (eq id (agg (always) (ma... 3.954373
234+ (and (eq what "foo") (join "w<=what" (and (eq i... 7.617478
235+ delete! 0.537608
236+ Taped.append() x50000 0.083659
237+ Taped.each() x125 1.781842
238+ Taped.delete_if() x375 0.846557
238239```
239240
240241The results were calculated in [ this GHA job] [ benchmark-gha ]
241- on 2025-10-15 at 14:53 ,
242+ on 2025-11-09 at 06:22 ,
242243on Linux with 4 CPUs.
243244<!-- benchmark_end -->
244245
245- [ benchmark-gha ] : https://github.com/yegor256/factbase/actions/runs/18533080805
246+ [ benchmark-gha ] : https://github.com/yegor256/factbase/actions/runs/19204497766
0 commit comments