Skip to content

cp readme over

cp readme over #679

Triggered via pull request October 31, 2024 15:11
Status Success
Total duration 47m 3s
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/README.md#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 48.3 ms +- 0.7 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 44.0 ms +- 0.5 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 77.0 ms +- 1.5 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 85.3 ms +- 0.9 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 472 ms +- 9 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 428 ms +- 4 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 813 ms +- 39 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 847 ms +- 20 ms ......................................... WARNING: the benchmark result may be unstable * the standard deviation (3.25 ms) is 10% of the mean (31.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: 31.2 ms +- 3.2 ms ......................................... react_agent_10x_sync: Mean +- std dev: 23.1 ms +- 2.2 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 48.8 ms +- 4.8 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 38.4 ms +- 3.8 ms ......................................... react_agent_100x: Mean +- std dev: 321 ms +- 7 ms ......................................... react_agent_100x_sync: Mean +- std dev: 258 ms +- 3 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 950 ms +- 21 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 865 ms +- 18 ms ......................................... wide_state_25x300: Mean +- std dev: 18.7 ms +- 0.3 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 11.1 ms +- 0.1 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 284 ms +- 17 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 276 ms +- 17 ms ......................................... wide_state_15x600: Mean +- std dev: 21.6 ms +- 0.5 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 12.7 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 485 ms +- 16 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 471 ms +- 17 ms ......................................... wide_state_9x1200: Mean +- std dev: 21.7 ms +- 0.4 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 12.7 ms +- 0.1 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 317 ms +- 16 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 304 ms +- 17 ms
Comparison against main: libs/langgraph/README.md#L1
+----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +========================================+=========+=======================+ | wide_state_9x1200_checkpoint | 323 ms | 317 ms: 1.02x faster | +----------------------------------------+---------+-----------------------+ | wide_state_9x1200_checkpoint_sync | 309 ms | 304 ms: 1.02x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 477 ms | 472 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | wide_state_9x1200_sync | 12.8 ms | 12.7 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_sync | 43.8 ms | 44.0 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_15x600_sync | 12.6 ms | 12.7 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x | 319 ms | 321 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_9x1200 | 21.5 ms | 21.7 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 84.5 ms | 85.3 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x_sync | 255 ms | 258 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint | 76.2 ms | 77.0 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_25x300 | 18.6 ms | 18.7 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_sync | 423 ms | 428 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_25x300_sync | 10.9 ms | 11.1 ms: 1.02x slower | +----------------------------------------+---------+-----------------------+ | react_agent_10x_sync | 22.6 ms | 23.1 ms: 1.02x slower | +----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 37.4 ms | 38.4 ms: 1.03x slower | +----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint | 47.4 ms | 48.8 ms: 1.03x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 839 ms | 865 ms: 1.03x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 913 ms | 950 ms: 1.04x slower | +----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.01x slower | +----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (9): fanout_to_subgraph_100x_checkpoint_sync, react_agent_10x, wide_state_15x600_checkpoint_sync, fanout_to_subgraph_100x_checkpoint, wide_state_25x300_checkpoint, fanout_to_subgraph_10x, wide_state_15x600, wide_state_15x600_checkpoint, wide_state_25x300_checkpoint_sync