Add namespace listing #254
Triggered via pull request
September 27, 2024 20:42
Status
Success
Total duration
45m 54s
Artifacts
–
Annotations
1 warning and 2 notices
benchmark
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Benchmark results:
libs/checkpoint/langgraph/store/base.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 59.5 ms +- 1.5 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (6.94 ms) is 12% of the mean (57.2 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_sync: Mean +- std dev: 57.2 ms +- 6.9 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 77.3 ms +- 1.3 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 81.7 ms +- 0.8 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 561 ms +- 9 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 505 ms +- 5 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 787 ms +- 27 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 793 ms +- 7 ms
.........................................
react_agent_10x: Mean +- std dev: 41.9 ms +- 3.8 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 29.9 ms +- 0.3 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 53.2 ms +- 1.3 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 43.0 ms +- 3.6 ms
.........................................
react_agent_100x: Mean +- std dev: 414 ms +- 9 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 331 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 931 ms +- 14 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 848 ms +- 20 ms
.........................................
wide_state_25x300: Mean +- std dev: 20.7 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 13.0 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 243 ms +- 8 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 244 ms +- 18 ms
.........................................
wide_state_15x600: Mean +- std dev: 23.9 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 14.8 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 418 ms +- 12 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 417 ms +- 17 ms
.........................................
wide_state_9x1200: Mean +- std dev: 23.7 ms +- 0.6 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 14.8 ms +- 0.3 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 270 ms +- 9 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 269 ms +- 16 ms
|
Comparison against main:
libs/checkpoint/langgraph/store/base.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| react_agent_100x_sync | 330 ms | 331 ms: 1.00x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 14.7 ms | 14.8 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 29.7 ms | 29.9 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 59.0 ms | 59.5 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 501 ms | 505 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 267 ms | 270 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 14.7 ms | 14.8 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 23.5 ms | 23.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 52.6 ms | 53.2 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 23.6 ms | 23.9 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 80.8 ms | 81.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 240 ms | 243 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 920 ms | 931 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 782 ms | 793 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 76.1 ms | 77.3 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 20.3 ms | 20.7 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 12.7 ms | 13.0 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 545 ms | 561 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 237 ms | 244 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 820 ms | 848 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 747 ms | 787 ms: 1.05x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x slower |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (7): wide_state_15x600_checkpoint, wide_state_15x600_checkpoint_sync, react_agent_100x, react_agent_10x_checkpoint_sync, wide_state_9x1200_checkpoint_sync, react_agent_10x, fanout_to_subgraph_10x_sync
|