langgraph: add config metadata to pregel loop #713
Annotations
1 warning and 2 notices
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/
|
Annotation:
libs/langgraph/langgraph/constants.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 48.7 ms +- 0.9 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 45.1 ms +- 0.8 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 78.3 ms +- 2.0 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 88.5 ms +- 1.7 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 512 ms +- 16 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 438 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 898 ms +- 40 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 861 ms +- 23 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (4.09 ms) is 13% of the mean (32.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.
react_agent_10x: Mean +- std dev: 32.2 ms +- 4.1 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 23.4 ms +- 2.1 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 48.8 ms +- 4.6 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 37.9 ms +- 3.6 ms
.........................................
react_agent_100x: Mean +- std dev: 331 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 266 ms +- 4 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 979 ms +- 24 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 885 ms +- 17 ms
.........................................
wide_state_25x300: Mean +- std dev: 18.7 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 11.1 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 286 ms +- 16 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 279 ms +- 19 ms
.........................................
wide_state_15x600: Mean +- std dev: 21.7 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 12.8 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 490 ms +- 17 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 476 ms +- 18 ms
.........................................
wide_state_9x1200: Mean +- std dev: 21.7 ms +- 0.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 12.9 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 324 ms +- 18 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 311 ms +- 19 ms
|
Annotation:
libs/langgraph/langgraph/constants.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_10x | 50.6 ms | 48.7 ms: 1.04x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 264 ms | 266 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 485 ms | 490 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x | 328 ms | 331 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 11.0 ms | 11.1 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 77.4 ms | 78.3 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 12.7 ms | 12.8 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 21.5 ms | 21.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 21.4 ms | 21.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 18.4 ms | 18.7 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 847 ms | 861 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 274 ms | 279 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 44.3 ms | 45.1 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 86.4 ms | 88.5 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 12.6 ms | 12.9 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 427 ms | 438 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 841 ms | 885 ms: 1.05x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 487 ms | 512 ms: 1.05x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 927 ms | 979 ms: 1.06x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 827 ms | 898 ms: 1.09x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.02x slower |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (8): wide_state_15x600_checkpoint_sync, wide_state_25x300_checkpoint, react_agent_10x, wide_state_9x1200_checkpoint_sync, react_agent_10x_checkpoint_sync, wide_state_9x1200_checkpoint, react_agent_10x_sync, react_agent_10x_checkpoint
|
Loading