Skip to content

langgraph[patch]: Fix unit test for Command(update) #1205

langgraph[patch]: Fix unit test for Command(update)

langgraph[patch]: Fix unit test for Command(update) #1205

Triggered via pull request December 10, 2024 19:01
Status Success
Total duration 48m 27s
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.7 ms +- 1.5 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 53.0 ms +- 1.0 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 94.0 ms +- 7.7 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 96.6 ms +- 2.0 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 648 ms +- 19 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 518 ms +- 8 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 1.02 sec +- 0.04 sec ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 982 ms +- 24 ms ......................................... react_agent_10x: Mean +- std dev: 31.3 ms +- 0.7 ms ......................................... react_agent_10x_sync: Mean +- std dev: 23.2 ms +- 0.3 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 47.9 ms +- 0.9 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 37.4 ms +- 0.5 ms ......................................... react_agent_100x: Mean +- std dev: 349 ms +- 7 ms ......................................... react_agent_100x_sync: Mean +- std dev: 277 ms +- 3 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 963 ms +- 17 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 859 ms +- 14 ms ......................................... wide_state_25x300: Mean +- std dev: 23.9 ms +- 0.5 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 15.1 ms +- 0.2 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 293 ms +- 18 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 281 ms +- 18 ms ......................................... wide_state_15x600: Mean +- std dev: 28.0 ms +- 0.5 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.5 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 491 ms +- 15 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 476 ms +- 15 ms ......................................... wide_state_9x1200: Mean +- std dev: 27.8 ms +- 0.5 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.4 ms +- 0.2 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 323 ms +- 15 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 310 ms +- 15 ms
Comparison against main: libs/langgraph/langgraph/pregel/loop.py#L1
+-----------------------------------------+---------+------------------------+ | Benchmark | main | changes | +=========================================+=========+========================+ | react_agent_100x | 346 ms | 349 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_9x1200_sync | 17.3 ms | 17.4 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | react_agent_100x_sync | 275 ms | 277 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | fanout_to_subgraph_10x | 62.1 ms | 62.7 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_25x300 | 23.7 ms | 23.9 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | react_agent_10x | 31.0 ms | 31.3 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_9x1200_checkpoint | 319 ms | 323 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_15x600_checkpoint_sync | 471 ms | 476 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_9x1200_checkpoint_sync | 307 ms | 310 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_15x600_checkpoint | 485 ms | 491 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_9x1200 | 27.5 ms | 27.8 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_15x600_sync | 17.3 ms | 17.5 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | fanout_to_subgraph_100x_sync | 510 ms | 518 ms: 1.01x slower | +-----------------------------------------+---------+------------------------+ | wide_state_25x300_sync | 14.9 ms | 15.1 ms: 1.02x slower | +-----------------------------------------+---------+------------------------+ | fanout_to_subgraph_10x_sync | 52.1 ms | 53.0 ms: 1.02x slower | +-----------------------------------------+---------+------------------------+ | wide_state_15x600 | 27.5 ms | 28.0 ms: 1.02x slower | +-----------------------------------------+---------+------------------------+ | react_agent_10x_sync | 22.8 ms | 23.2 ms: 1.02x slower | +-----------------------------------------+---------+------------------------+ | react_agent_10x_checkpoint_sync | 36.6 ms | 37.4 ms: 1.02x slower | +-----------------------------------------+---------+------------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 94.4 ms | 96.6 ms: 1.02x slower | +-----------------------------------------+---------+------------------------+ | wide_state_25x300_checkpoint | 286 ms | 293 ms: 1.03x slower | +-----------------------------------------+---------+------------------------+ | react_agent_10x_checkpoint | 46.6 ms | 47.9 ms: 1.03x slower | +-----------------------------------------+---------+------------------------+ | wide_state_25x300_checkpoint_sync | 273 ms | 281 ms: 1.03x slower | +-----------------------------------------+---------+------------------------+ | fanout_to_subgraph_100x | 628 ms | 648 ms: 1.03x slower | +-----------------------------------------+---------+------------------------+ | react_agent_100x_checkpoint_sync | 833 ms | 859 ms: 1.03x slower | +-----------------------------------------+---------+------------------------+ | react_agent_100x_checkpoint | 930 ms | 963 ms: 1.04x