Add namespace listing #251
Triggered via pull request
September 27, 2024 19:47
Status
Success
Total duration
48m 7s
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: 61.0 ms +- 1.5 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (9.04 ms) is 15% of the mean (60.1 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: 60.1 ms +- 9.0 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 79.1 ms +- 1.2 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 83.9 ms +- 0.8 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 601 ms +- 11 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 516 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 846 ms +- 29 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 810 ms +- 7 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (4.42 ms) is 10% of the mean (43.4 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.
react_agent_10x: Mean +- std dev: 43.4 ms +- 4.4 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 30.6 ms +- 0.4 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 54.5 ms +- 1.5 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 44.5 ms +- 4.3 ms
.........................................
react_agent_100x: Mean +- std dev: 423 ms +- 7 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 339 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 979 ms +- 12 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 877 ms +- 10 ms
.........................................
wide_state_25x300: Mean +- std dev: 21.1 ms +- 0.3 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 13.1 ms +- 0.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 242 ms +- 10 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 242 ms +- 18 ms
.........................................
wide_state_15x600: Mean +- std dev: 24.4 ms +- 0.3 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 15.2 ms +- 0.3 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 419 ms +- 11 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 423 ms +- 20 ms
.........................................
wide_state_9x1200: Mean +- std dev: 24.4 ms +- 0.3 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 15.2 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 272 ms +- 9 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 272 ms +- 18 ms
|
Comparison against main:
libs/checkpoint/langgraph/store/base.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| wide_state_25x300_checkpoint | 240 ms | 242 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 417 ms | 423 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 267 ms | 272 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 237 ms | 242 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 266 ms | 272 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x | 412 ms | 423 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 12.7 ms | 13.1 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 330 ms | 339 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 23.6 ms | 24.4 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 501 ms | 516 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 14.7 ms | 15.2 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 29.7 ms | 30.6 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 14.7 ms | 15.2 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 59.0 ms | 61.0 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 52.6 ms | 54.5 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 782 ms | 810 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 20.3 ms | 21.1 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 80.8 ms | 83.9 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 23.5 ms | 24.4 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 76.1 ms | 79.1 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 42.7 ms | 44.5 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x | 41.2 ms | 43.4 ms: 1.05x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 920 ms | 979 ms: 1.06x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 820 ms | 877 ms: 1.07x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 56.0 ms | 60.1 ms: 1.07x slower |
+---------------------------------------
|