langgraph: add prebuilt chain graph #573
Annotations
1 warning and 2 notices
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Annotation:
libs/langgraph/langgraph/prebuilt/__init__.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 47.9 ms +- 0.7 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 45.7 ms +- 3.1 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 76.7 ms +- 2.0 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 84.6 ms +- 0.6 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 467 ms +- 11 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 433 ms +- 14 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 779 ms +- 40 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 831 ms +- 15 ms
.........................................
react_agent_10x: Mean +- std dev: 28.9 ms +- 0.7 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.2 ms +- 1.7 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 46.9 ms +- 2.8 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.3 ms +- 2.9 ms
.........................................
react_agent_100x: Mean +- std dev: 323 ms +- 13 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 259 ms +- 14 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 933 ms +- 39 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 829 ms +- 41 ms
.........................................
wide_state_25x300: Mean +- std dev: 18.5 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 11.0 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 271 ms +- 3 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 261 ms +- 5 ms
.........................................
wide_state_15x600: Mean +- std dev: 21.4 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 12.8 ms +- 0.4 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 471 ms +- 7 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 458 ms +- 8 ms
.........................................
wide_state_9x1200: Mean +- std dev: 21.4 ms +- 0.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 12.6 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 304 ms +- 4 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 291 ms +- 3 ms
|
Annotation:
libs/langgraph/langgraph/prebuilt/__init__.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_10x | 54.0 ms | 47.9 ms: 1.13x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 307 ms | 304 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 474 ms | 471 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 293 ms | 291 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 272 ms | 271 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 822 ms | 831 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 83.7 ms | 84.6 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 428 ms | 433 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x | 319 ms | 323 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 75.7 ms | 76.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 12.4 ms | 12.6 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 21.8 ms | 22.2 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 10.8 ms | 11.0 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 254 ms | 259 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 20.9 ms | 21.4 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 810 ms | 829 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 20.9 ms | 21.4 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 18.0 ms | 18.5 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x | 28.2 ms | 28.9 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 12.4 ms | 12.8 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 907 ms | 933 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x slower |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (7): fanout_to_subgraph_100x_checkpoint, wide_state_15x600_checkpoint_sync, fanout_to_subgraph_100x, wide_state_25x300_checkpoint_sync, react_agent_10x_checkpoint_sync, fanout_to_subgraph_10x_sync, react_agent_10x_checkpoint
|
Loading