feat(langgraph): Add interrupt schema to library #1391
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/interrupt.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 62.3 ms +- 1.3 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 53.6 ms +- 0.9 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 74.5 ms +- 1.3 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 95.6 ms +- 1.9 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 610 ms +- 27 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 523 ms +- 13 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 785 ms +- 31 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 963 ms +- 19 ms
.........................................
react_agent_10x: Mean +- std dev: 31.0 ms +- 0.8 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 23.1 ms +- 0.3 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 38.3 ms +- 1.1 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.9 ms +- 0.7 ms
.........................................
react_agent_100x: Mean +- std dev: 343 ms +- 7 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 272 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 641 ms +- 8 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 662 ms +- 15 ms
.........................................
wide_state_25x300: Mean +- std dev: 23.8 ms +- 0.5 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.6 ms +- 0.3 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 255 ms +- 17 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 248 ms +- 15 ms
.........................................
wide_state_15x600: Mean +- std dev: 27.1 ms +- 0.7 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.8 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 427 ms +- 14 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 424 ms +- 14 ms
.........................................
wide_state_9x1200: Mean +- std dev: 27.2 ms +- 0.7 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.8 ms +- 0.4 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 281 ms +- 14 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 275 ms +- 13 ms
|
Annotation:
libs/langgraph/langgraph/prebuilt/interrupt.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_100x | 724 ms | 610 ms: 1.19x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 557 ms | 523 ms: 1.06x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 819 ms | 785 ms: 1.04x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 99.2 ms | 95.6 ms: 1.04x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 77.0 ms | 74.5 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 55.1 ms | 53.6 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 986 ms | 963 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 432 ms | 424 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 27.4 ms | 27.2 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 634 ms | 641 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 23.4 ms | 23.8 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 15.3 ms | 15.6 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 248 ms | 255 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 616 ms | 662 ms: 1.07x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x faster |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (14): wide_state_9x1200_checkpoint_sync, wide_state_15x600_checkpoint, wide_state_9x1200_checkpoint, react_agent_10x_checkpoint, react_agent_100x, wide_state_9x1200_sync, react_agent_100x_sync, fanout_to_subgraph_10x, wide_state_15x600_sync, react_agent_10x, react_agent_10x_sync, wide_state_15x600, react_agent_10x_checkpoint_sync, wide_state_25x300_checkpoint_sync
|
Loading