langgraph: add structured output to create_react_agent #1316
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/prebuilt/chat_agent_executor.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 61.7 ms +- 1.6 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 52.7 ms +- 1.1 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 74.7 ms +- 1.3 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 94.5 ms +- 1.3 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 654 ms +- 36 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 510 ms +- 11 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 828 ms +- 27 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 954 ms +- 23 ms
.........................................
react_agent_10x: Mean +- std dev: 30.7 ms +- 0.9 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.9 ms +- 0.6 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 38.1 ms +- 0.8 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 37.2 ms +- 0.6 ms
.........................................
react_agent_100x: Mean +- std dev: 341 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 278 ms +- 4 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 875 ms +- 12 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 870 ms +- 19 ms
.........................................
wide_state_25x300: Mean +- std dev: 22.7 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 14.8 ms +- 0.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 282 ms +- 18 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 276 ms +- 16 ms
.........................................
wide_state_15x600: Mean +- std dev: 26.5 ms +- 0.5 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.2 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 480 ms +- 18 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 478 ms +- 18 ms
.........................................
wide_state_9x1200: Mean +- std dev: 26.5 ms +- 0.6 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.2 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 314 ms +- 17 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 310 ms +- 16 ms
|
Annotation:
libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| wide_state_15x600 | 26.8 ms | 26.5 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 26.7 ms | 26.5 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 17.3 ms | 17.2 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.8 ms | 22.9 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 37.8 ms | 38.1 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 36.8 ms | 37.2 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 73.9 ms | 74.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 942 ms | 954 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 274 ms | 278 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 52.0 ms | 52.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 60.8 ms | 61.7 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 309 ms | 314 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 470 ms | 478 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 471 ms | 480 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 304 ms | 310 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 273 ms | 282 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 792 ms | 828 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 837 ms | 875 ms: 1.05x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 832 ms | 870 ms: 1.05x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 615 ms | 654 ms: 1.06x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x slower |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (8): wide_state_25x300, fanout_to_subgraph_100x_sync, fanout_to_subgraph_10x_checkpoint_sync, wide_state_25x300_sync, react_agent_100x, wide_state_15x600_sync, react_agent_10x, wide_state_25x300_checkpoint_sync
|
Loading