lib: Enforce write application order in apply_writes #733
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: 58.1 ms +- 1.2 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 49.1 ms +- 0.6 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 83.1 ms +- 2.1 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 90.7 ms +- 0.8 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 531 ms +- 11 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 480 ms +- 17 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 848 ms +- 40 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 887 ms +- 16 ms
.........................................
react_agent_10x: Mean +- std dev: 30.1 ms +- 0.6 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.0 ms +- 0.1 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 47.2 ms +- 1.1 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.3 ms +- 0.5 ms
.........................................
react_agent_100x: Mean +- std dev: 339 ms +- 7 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 270 ms +- 4 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 929 ms +- 8 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 827 ms +- 10 ms
.........................................
wide_state_25x300: Mean +- std dev: 23.4 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 14.9 ms +- 0.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 277 ms +- 3 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 264 ms +- 4 ms
.........................................
wide_state_15x600: Mean +- std dev: 27.3 ms +- 0.5 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.0 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 477 ms +- 7 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 464 ms +- 10 ms
.........................................
wide_state_9x1200: Mean +- std dev: 27.2 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.0 ms +- 0.1 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 310 ms +- 4 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 296 ms +- 5 ms
|
Annotation:
libs/langgraph/langgraph/pregel/__init__.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_100x_checkpoint | 879 ms | 848 ms: 1.04x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 37.0 ms | 36.3 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 539 ms | 531 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 899 ms | 887 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 837 ms | 827 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 938 ms | 929 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 91.3 ms | 90.7 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 271 ms | 270 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.1 ms | 22.0 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 17.0 ms | 17.0 ms: 1.00x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 48.9 ms | 49.1 ms: 1.00x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 17.0 ms | 17.0 ms: 1.00x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 477 ms | 480 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 14.8 ms | 14.9 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 27.0 ms | 27.2 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 46.6 ms | 47.2 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x faster |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (12): wide_state_9x1200_checkpoint, react_agent_10x, wide_state_25x300, fanout_to_subgraph_10x, react_agent_100x, wide_state_9x1200_checkpoint_sync, wide_state_25x300_checkpoint_sync, wide_state_25x300_checkpoint, wide_state_15x600_checkpoint, wide_state_15x600, fanout_to_subgraph_10x_checkpoint, wide_state_15x600_checkpoint_sync
|
Loading