Skip to content

lib: Add support for multiple interrupts per node #1107

lib: Add support for multiple interrupts per node

lib: Add support for multiple interrupts per node #1107

Triggered via pull request December 4, 2024 22:15
Status Success
Total duration 47m 1s
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/constants.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 61.3 ms +- 1.7 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 51.3 ms +- 0.7 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 91.6 ms +- 7.8 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 93.5 ms +- 2.0 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 589 ms +- 22 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 500 ms +- 5 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 934 ms +- 40 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 919 ms +- 17 ms ......................................... react_agent_10x: Mean +- std dev: 30.9 ms +- 0.7 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.2 ms +- 0.2 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 46.5 ms +- 0.8 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 36.9 ms +- 0.5 ms ......................................... react_agent_100x: Mean +- std dev: 343 ms +- 7 ms ......................................... react_agent_100x_sync: Mean +- std dev: 270 ms +- 4 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 939 ms +- 10 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 842 ms +- 11 ms ......................................... wide_state_25x300: Mean +- std dev: 24.1 ms +- 0.4 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 15.4 ms +- 0.1 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 280 ms +- 3 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 267 ms +- 4 ms ......................................... wide_state_15x600: Mean +- std dev: 28.1 ms +- 0.5 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.8 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 480 ms +- 5 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 466 ms +- 6 ms ......................................... wide_state_9x1200: Mean +- std dev: 28.0 ms +- 0.5 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.7 ms +- 0.1 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 313 ms +- 3 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 298 ms +- 4 ms
Comparison against main: libs/langgraph/langgraph/constants.py#L1
+-----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +=========================================+=========+=======================+ | fanout_to_subgraph_100x | 606 ms | 589 ms: 1.03x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint | 47.1 ms | 46.5 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 94.6 ms | 93.5 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 945 ms | 934 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint_sync | 929 ms | 919 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_sync | 272 ms | 270 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_10x_sync | 22.3 ms | 22.2 ms: 1.00x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint | 478 ms | 480 ms: 1.00x slower | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 838 ms | 842 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | wide_state_25x300_checkpoint | 278 ms | 280 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.00x faster | +-----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (18): fanout_to_subgraph_10x_checkpoint, fanout_to_subgraph_10x, wide_state_25x300, react_agent_10x, wide_state_9x1200, wide_state_9x1200_sync, wide_state_15x600, fanout_to_subgraph_100x_sync, fanout_to_subgraph_10x_sync, wide_state_9x1200_checkpoint_sync, wide_state_15x600_sync, wide_state_9x1200_checkpoint, react_agent_100x_checkpoint, react_agent_10x_checkpoint_sync, wide_state_25x300_sync, react_agent_100x, wide_state_15x600_checkpoint_sync, wide_state_25x300_checkpoint_sync