Skip to content

langgraph: remove print #1118

langgraph: remove print

langgraph: remove print #1118

Triggered via pull request December 5, 2024 00:07
Status Success
Total duration 47m 23s
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/types.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 61.6 ms +- 1.7 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 51.6 ms +- 1.6 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 91.8 ms +- 8.2 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 93.9 ms +- 0.8 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 606 ms +- 27 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 505 ms +- 6 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 944 ms +- 35 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 927 ms +- 18 ms ......................................... react_agent_10x: Mean +- std dev: 30.8 ms +- 0.8 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.3 ms +- 0.2 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 47.1 ms +- 0.9 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 36.9 ms +- 0.6 ms ......................................... react_agent_100x: Mean +- std dev: 341 ms +- 6 ms ......................................... react_agent_100x_sync: Mean +- std dev: 271 ms +- 4 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 943 ms +- 14 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 849 ms +- 12 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: 278 ms +- 3 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 266 ms +- 3 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: 479 ms +- 7 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 465 ms +- 6 ms ......................................... wide_state_9x1200: Mean +- std dev: 28.0 ms +- 0.5 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.8 ms +- 0.2 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 313 ms +- 4 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 298 ms +- 3 ms
Comparison against main: libs/langgraph/langgraph/types.py#L1
+-----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +=========================================+=========+=======================+ | wide_state_25x300_checkpoint | 280 ms | 278 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_15x600_sync | 17.8 ms | 17.8 ms: 1.00x slower | +-----------------------------------------+---------+-----------------------+ | wide_state_9x1200_sync | 17.7 ms | 17.8 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | react_agent_10x | 30.6 ms | 30.8 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_sync | 501 ms | 505 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint_sync | 920 ms | 927 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint | 46.7 ms | 47.1 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 36.3 ms | 36.9 ms: 1.02x slower | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 928 ms | 943 ms: 1.02x slower | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 827 ms | 849 ms: 1.03x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 590 ms | 606 ms: 1.03x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 917 ms | 944 ms: 1.03x slower | +-----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.01x slower | +-----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (16): wide_state_9x1200, wide_state_25x300_checkpoint_sync, react_agent_100x, react_agent_100x_sync, react_agent_10x_sync, fanout_to_subgraph_10x_sync, fanout_to_subgraph_10x_checkpoint_sync, wide_state_9x1200_checkpoint_sync, wide_state_25x300_sync, wide_state_9x1200_checkpoint, wide_state_15x600_checkpoint, wide_state_15x600, wide_state_15x600_checkpoint_sync, fanout_to_subgraph_10x, wide_state_25x300, fanout_to_subgraph_10x_checkpoint