lib: When updating state from latest, apply pending writes first #730
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/pregel/__init__.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 57.8 ms +- 1.6 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 49.0 ms +- 0.7 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 83.3 ms +- 1.5 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 90.5 ms +- 0.7 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 534 ms +- 10 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 475 ms +- 5 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 862 ms +- 40 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 889 ms +- 17 ms
.........................................
react_agent_10x: Mean +- std dev: 30.2 ms +- 0.6 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.1 ms +- 0.1 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 46.3 ms +- 0.9 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.0 ms +- 0.5 ms
.........................................
react_agent_100x: Mean +- std dev: 337 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 269 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 927 ms +- 9 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 832 ms +- 7 ms
.........................................
wide_state_25x300: Mean +- std dev: 23.2 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 14.7 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 278 ms +- 3 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 265 ms +- 5 ms
.........................................
wide_state_15x600: Mean +- std dev: 27.0 ms +- 0.5 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 16.9 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 477 ms +- 4 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 462 ms +- 6 ms
.........................................
wide_state_9x1200: Mean +- std dev: 27.0 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.0 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 312 ms +- 3 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 297 ms +- 4 ms
|
Annotation:
libs/langgraph/langgraph/pregel/__init__.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| react_agent_100x_checkpoint | 957 ms | 927 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 853 ms | 832 ms: 1.03x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 85.3 ms | 83.3 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 882 ms | 862 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 905 ms | 889 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 469 ms | 462 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 49.7 ms | 49.0 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 17.2 ms | 17.0 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 316 ms | 312 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 482 ms | 477 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 300 ms | 297 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 27.3 ms | 27.0 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 91.2 ms | 90.5 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 267 ms | 265 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.2 ms | 22.1 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 14.8 ms | 14.7 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 17.0 ms | 16.9 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 57.4 ms | 57.8 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x faster |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (10): wide_state_25x300_checkpoint, react_agent_10x, react_agent_10x_checkpoint, react_agent_10x_checkpoint_sync, react_agent_100x, react_agent_100x_sync, fanout_to_subgraph_100x, fanout_to_subgraph_100x_sync, wide_state_25x300, wide_state_15x600
|
Loading