Dedup store batch operations #951
Annotations
2 notices
Annotation:
libs/checkpoint/langgraph/store/base/batch.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 61.1 ms +- 1.6 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 51.4 ms +- 0.7 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 91.9 ms +- 8.6 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 94.1 ms +- 1.6 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 620 ms +- 29 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 500 ms +- 5 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 933 ms +- 42 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 927 ms +- 18 ms
.........................................
react_agent_10x: Mean +- std dev: 30.7 ms +- 0.6 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.5 ms +- 0.2 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 46.6 ms +- 0.7 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.7 ms +- 0.7 ms
.........................................
react_agent_100x: Mean +- std dev: 341 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 271 ms +- 4 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 932 ms +- 9 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 837 ms +- 10 ms
.........................................
wide_state_25x300: Mean +- std dev: 24.1 ms +- 0.5 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.4 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 278 ms +- 3 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 266 ms +- 3 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.2 ms +- 0.8 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.8 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 481 ms +- 5 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 467 ms +- 8 ms
.........................................
wide_state_9x1200: Mean +- std dev: 28.3 ms +- 0.6 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.8 ms +- 0.3 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 312 ms +- 3 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 297 ms +- 3 ms
|
Annotation:
libs/checkpoint/langgraph/store/base/batch.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_100x_sync | 502 ms | 500 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 17.8 ms | 17.8 ms: 1.00x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 15.3 ms | 15.4 ms: 1.00x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 310 ms | 312 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 28.1 ms | 28.3 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.3 ms | 22.5 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 276 ms | 278 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 924 ms | 932 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 93.2 ms | 94.1 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 476 ms | 481 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 462 ms | 467 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 36.3 ms | 36.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 916 ms | 927 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 825 ms | 837 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 913 ms | 933 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 587 ms | 620 ms: 1.06x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x slower |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (12): fanout_to_subgraph_10x, react_agent_10x, wide_state_25x300_checkpoint_sync, fanout_to_subgraph_10x_sync, wide_state_9x1200_checkpoint_sync, react_agent_100x, wide_state_9x1200_sync, react_agent_100x_sync, react_agent_10x_checkpoint, wide_state_25x300, wide_state_15x600, fanout_to_subgraph_10x_checkpoint
|
Loading