Skip to content

lib: Treat Command as "resuming" signal #1182

lib: Treat Command as "resuming" signal

lib: Treat Command as "resuming" signal #1182

Triggered via pull request December 9, 2024 23:14
Status Success
Total duration 47m 58s
Artifacts

bench.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 warning and 2 notices
benchmark
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Benchmark results: libs/langgraph/langgraph/pregel/loop.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 62.2 ms +- 1.4 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 52.6 ms +- 0.8 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 93.9 ms +- 7.5 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 95.3 ms +- 1.0 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 635 ms +- 13 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 518 ms +- 11 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 988 ms +- 40 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 956 ms +- 19 ms ......................................... react_agent_10x: Mean +- std dev: 31.0 ms +- 0.7 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.8 ms +- 0.5 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 47.0 ms +- 0.7 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 36.6 ms +- 0.5 ms ......................................... react_agent_100x: Mean +- std dev: 345 ms +- 7 ms ......................................... react_agent_100x_sync: Mean +- std dev: 275 ms +- 4 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 947 ms +- 11 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 848 ms +- 11 ms ......................................... wide_state_25x300: Mean +- std dev: 23.7 ms +- 0.4 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 15.0 ms +- 0.2 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 292 ms +- 16 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 277 ms +- 15 ms ......................................... wide_state_15x600: Mean +- std dev: 27.8 ms +- 0.7 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.4 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 492 ms +- 18 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 476 ms +- 15 ms ......................................... wide_state_9x1200: Mean +- std dev: 27.6 ms +- 0.5 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.6 ms +- 0.2 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 328 ms +- 19 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 312 ms +- 16 ms
Comparison against main: libs/langgraph/langgraph/pregel/loop.py#L1
+----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +========================================+=========+=======================+ | wide_state_15x600_checkpoint_sync | 481 ms | 476 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 36.8 ms | 36.6 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 95.8 ms | 95.3 ms: 1.01x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_sync | 52.9 ms | 52.6 ms: 1.00x faster | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_sync | 516 ms | 518 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_15x600 | 27.6 ms | 27.8 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_9x1200_sync | 17.4 ms | 17.6 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 936 ms | 947 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 833 ms | 848 ms: 1.02x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 619 ms | 635 ms: 1.03x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 939 ms | 988 ms: 1.05x slower | +----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.00x slower | +----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (17): wide_state_25x300_checkpoint_sync, wide_state_15x600_checkpoint, react_agent_10x_sync, wide_state_25x300, wide_state_9x1200, fanout_to_subgraph_10x, react_agent_100x_sync, react_agent_100x, react_agent_10x, react_agent_10x_checkpoint, wide_state_9x1200_checkpoint_sync, fanout_to_subgraph_100x_checkpoint_sync, wide_state_15x600_sync, wide_state_25x300_sync, wide_state_25x300_checkpoint, fanout_to_subgraph_10x_checkpoint, wide_state_9x1200_checkpoint