feat: Add vector search #960
Triggered via pull request
November 26, 2024 01:10
Status
Success
Total duration
48m 20s
Artifacts
–
Annotations
2 notices
Benchmark results:
libs/checkpoint-postgres/Makefile#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 61.6 ms +- 1.6 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 51.5 ms +- 0.6 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (9.69 ms) is 10% of the mean (93.3 ms)
Try to rerun the benchmark with more runs, values and/or loops.
Run 'python -m pyperf system tune' command to reduce the system jitter.
Use pyperf stats, pyperf dump and pyperf hist to analyze results.
Use --quiet option to hide these warnings.
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 93.3 ms +- 9.7 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 94.1 ms +- 1.9 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 614 ms +- 27 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 501 ms +- 5 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 971 ms +- 40 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 934 ms +- 21 ms
.........................................
react_agent_10x: Mean +- std dev: 30.6 ms +- 0.8 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.3 ms +- 0.4 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 46.7 ms +- 0.9 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.5 ms +- 0.5 ms
.........................................
react_agent_100x: Mean +- std dev: 345 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 271 ms +- 5 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 957 ms +- 21 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 865 ms +- 19 ms
.........................................
wide_state_25x300: Mean +- std dev: 24.2 ms +- 0.5 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.3 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 280 ms +- 6 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 268 ms +- 3 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.2 ms +- 0.5 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.7 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 481 ms +- 5 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 465 ms +- 6 ms
.........................................
wide_state_9x1200: Mean +- std dev: 28.0 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.7 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 314 ms +- 8 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 299 ms +- 4 ms
|
Comparison against main:
libs/checkpoint-postgres/Makefile#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| react_agent_10x_sync | 22.7 ms | 22.3 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 18.0 ms | 17.7 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x | 31.1 ms | 30.6 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 15.5 ms | 15.3 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 18.0 ms | 17.7 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 52.1 ms | 51.5 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 36.8 ms | 36.5 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 505 ms | 501 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 273 ms | 271 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 94.6 ms | 94.1 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 483 ms | 481 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 47.0 ms | 46.7 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 28.2 ms | 28.0 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x | 343 ms | 345 ms: 1.00x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 929 ms | 934 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 944 ms | 957 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 606 ms | 614 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 846 ms | 865 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 944 ms | 971 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x faster |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (9): wide_state_9x1200_checkpoint_sync, wide_state_15x600_checkpoint_sync, wide_state_25x300_checkpoint_sync, wide_state_25x300_checkpoint, wide_state_15x600, fanout_to_subgraph_10x, wide_state_9x1200_checkpoint, wide_state_25x300, fanout_to_subgraph_10x_checkpoint
|