Skip to content

langgraph: release 0.2.44 #703

langgraph: release 0.2.44

langgraph: release 0.2.44 #703

Triggered via pull request November 2, 2024 00:27
Status Success
Total duration 46m 27s
Artifacts

bench.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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/langgraph/pyproject.toml#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 48.3 ms +- 0.8 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 44.1 ms +- 0.5 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 76.8 ms +- 1.6 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 85.0 ms +- 0.9 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 473 ms +- 9 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 426 ms +- 5 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 806 ms +- 50 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 839 ms +- 17 ms ......................................... WARNING: the benchmark result may be unstable * the standard deviation (3.23 ms) is 10% of the mean (31.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. react_agent_10x: Mean +- std dev: 31.3 ms +- 3.2 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.7 ms +- 1.6 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 47.2 ms +- 3.4 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 37.1 ms +- 3.0 ms ......................................... react_agent_100x: Mean +- std dev: 327 ms +- 6 ms ......................................... react_agent_100x_sync: Mean +- std dev: 262 ms +- 4 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 914 ms +- 11 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 815 ms +- 6 ms ......................................... wide_state_25x300: Mean +- std dev: 18.4 ms +- 0.4 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 10.9 ms +- 0.1 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 284 ms +- 16 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 273 ms +- 15 ms ......................................... wide_state_15x600: Mean +- std dev: 21.4 ms +- 0.5 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 12.6 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 483 ms +- 15 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 468 ms +- 15 ms ......................................... wide_state_9x1200: Mean +- std dev: 21.5 ms +- 0.4 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 12.5 ms +- 0.1 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 315 ms +- 14 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 306 ms +- 16 ms
Comparison against main: libs/langgraph/pyproject.toml#L1
+----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +========================================+=========+=======================+ | fanout_to_subgraph_100x | 499 ms | 473 ms: 1.06x faster | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 851 ms | 815 ms: 1.04x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 836 ms | 806 ms: 1.04x faster | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 930 ms | 914 ms: 1.02x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 86.3 ms | 85.0 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint_sync | 474 ms | 468 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint | 77.7 ms | 76.8 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint | 487 ms | 483 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_sync | 430 ms | 426 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_sync | 44.2 ms | 44.1 ms: 1.00x faster | +----------------------------------------+---------+-----------------------+ | react_agent_100x | 325 ms | 327 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_9x1200 | 21.3 ms | 21.5 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.01x faster | +----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (16): react_agent_10x_checkpoint, react_agent_10x, react_agent_10x_sync, react_agent_10x_checkpoint_sync, fanout_to_subgraph_100x_checkpoint_sync, wide_state_15x600_sync, wide_state_9x1200_sync, wide_state_15x600, react_agent_100x_sync, wide_state_25x300_checkpoint, wide_state_25x300_sync, fanout_to_subgraph_10x, wide_state_9x1200_checkpoint, wide_state_25x300_checkpoint_sync, wide_state_25x300, wide_state_9x1200_checkpoint_sync