feat: Make CompiledGraph displayable in Jupyter with display() #883
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/graph/graph.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 61.0 ms +- 1.4 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 51.0 ms +- 0.7 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 91.0 ms +- 7.6 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 92.9 ms +- 0.9 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 578 ms +- 19 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 498 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 903 ms +- 43 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 912 ms +- 15 ms
.........................................
react_agent_10x: Mean +- std dev: 30.6 ms +- 0.7 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.4 ms +- 0.3 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 46.3 ms +- 0.8 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.4 ms +- 0.5 ms
.........................................
react_agent_100x: Mean +- std dev: 342 ms +- 5 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 270 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 929 ms +- 7 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 831 ms +- 5 ms
.........................................
wide_state_25x300: Mean +- std dev: 24.1 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.4 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 279 ms +- 4 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 267 ms +- 4 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.1 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.8 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 480 ms +- 5 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 465 ms +- 5 ms
.........................................
wide_state_9x1200: Mean +- std dev: 28.1 ms +- 0.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.8 ms +- 0.5 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 313 ms +- 3 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 299 ms +- 4 ms
|
Annotation:
libs/langgraph/langgraph/graph/graph.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_100x | 628 ms | 578 ms: 1.09x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 973 ms | 903 ms: 1.08x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 93.9 ms | 91.0 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 855 ms | 831 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 937 ms | 912 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 95.2 ms | 92.9 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 62.4 ms | 61.0 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 47.2 ms | 46.3 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 946 ms | 929 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 318 ms | 313 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x | 31.1 ms | 30.6 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 18.1 ms | 17.8 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 37.0 ms | 36.4 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.8 ms | 22.4 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x | 347 ms | 342 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 472 ms | 465 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 24.4 ms | 24.1 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 18.0 ms | 17.8 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 28.5 ms | 28.1 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 303 ms | 299 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 51.6 ms | 51.0 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 504 ms | 498 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 282 ms | 279 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 28.4 ms | 28.1 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 15.6 ms | 15.4 ms: 1.01x faster |
+---------------------------------------
|
Loading