lib: Add support for invoke(Command(goto=<str>)) #1207
Annotations
1 warning and 2 notices
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Annotation:
libs/langgraph/langgraph/graph/state.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 64.5 ms +- 1.7 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 54.2 ms +- 0.8 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (10.0 ms) is 10% of the mean (98.8 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.
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 98.8 ms +- 10.0 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 97.9 ms +- 1.3 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 686 ms +- 25 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 542 ms +- 16 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 1.04 sec +- 0.05 sec
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 984 ms +- 26 ms
.........................................
react_agent_10x: Mean +- std dev: 31.4 ms +- 0.6 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 23.1 ms +- 0.3 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 47.7 ms +- 1.0 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 37.5 ms +- 0.8 ms
.........................................
react_agent_100x: Mean +- std dev: 347 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 278 ms +- 5 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 969 ms +- 17 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 874 ms +- 15 ms
.........................................
wide_state_25x300: Mean +- std dev: 24.0 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.6 ms +- 0.3 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 293 ms +- 17 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 279 ms +- 16 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.0 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.9 ms +- 0.3 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 495 ms +- 18 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 479 ms +- 18 ms
.........................................
wide_state_9x1200: Mean +- std dev: 28.2 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 18.0 ms +- 0.7 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 327 ms +- 19 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 312 ms +- 17 ms
|
Annotation:
libs/langgraph/langgraph/graph/state.py#L1
+-----------------------------------------+---------+------------------------+
| Benchmark | main | changes |
+=========================================+=========+========================+
| wide_state_25x300 | 23.7 ms | 24.0 ms: 1.01x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x_sync | 22.8 ms | 23.1 ms: 1.01x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_100x_sync | 275 ms | 278 ms: 1.01x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x | 31.0 ms | 31.4 ms: 1.01x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200_checkpoint_sync | 307 ms | 312 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_15x600 | 27.5 ms | 28.0 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_15x600_checkpoint_sync | 471 ms | 479 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_15x600_checkpoint | 485 ms | 495 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_25x300_checkpoint_sync | 273 ms | 279 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x_checkpoint_sync | 36.6 ms | 37.5 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x_checkpoint | 46.6 ms | 47.7 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200 | 27.5 ms | 28.2 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_25x300_checkpoint | 286 ms | 293 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200_checkpoint | 319 ms | 327 ms: 1.02x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_15x600_sync | 17.3 ms | 17.9 ms: 1.03x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 94.4 ms | 97.9 ms: 1.04x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x | 62.1 ms | 64.5 ms: 1.04x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x_sync | 52.1 ms | 54.2 ms: 1.04x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_100x_checkpoint | 930 ms | 969 ms: 1.04x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200_sync | 17.3 ms | 18.0 ms: 1.04x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 944 ms | 984 ms: 1.04x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_25x300_sync | 14.9 ms | 15.6 ms: 1.04x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_100x_checkpoint_sync | 833 ms | 874 ms: 1.05x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x_checkpoint | 93.8 ms | 98.8 ms: 1.05x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_100x_sync | 510 ms | 542 ms: 1.06x
|
Loading