lib: Fix incorrect default for Command.update #1281
Triggered via pull request
December 18, 2024 13:28
Status
Success
Total duration
46m 21s
Artifacts
–
Annotations
1 warning and 2 notices
benchmark
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Benchmark results:
libs/langgraph/langgraph/types.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 61.3 ms +- 1.0 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 52.4 ms +- 0.6 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 74.5 ms +- 1.0 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 94.9 ms +- 1.6 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 616 ms +- 23 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 514 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 763 ms +- 14 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 945 ms +- 17 ms
.........................................
react_agent_10x: Mean +- std dev: 31.0 ms +- 0.8 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.8 ms +- 0.2 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 37.9 ms +- 0.7 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.9 ms +- 0.5 ms
.........................................
react_agent_100x: Mean +- std dev: 342 ms +- 7 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 275 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 838 ms +- 7 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 829 ms +- 6 ms
.........................................
wide_state_25x300: Mean +- std dev: 23.1 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 14.8 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 274 ms +- 13 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 272 ms +- 13 ms
.........................................
wide_state_15x600: Mean +- std dev: 27.1 ms +- 0.5 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.3 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 471 ms +- 15 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 470 ms +- 14 ms
.........................................
wide_state_9x1200: Mean +- std dev: 27.0 ms +- 0.6 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.2 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 307 ms +- 13 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 304 ms +- 13 ms
|
Comparison against main:
libs/langgraph/langgraph/types.py#L1
+----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+========================================+=========+=======================+
| fanout_to_subgraph_100x | 626 ms | 616 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 774 ms | 763 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 842 ms | 838 ms: 1.00x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 831 ms | 829 ms: 1.00x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 14.8 ms | 14.8 ms: 1.00x slower |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.7 ms | 22.8 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 17.2 ms | 17.3 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 94.3 ms | 94.9 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 52.0 ms | 52.4 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| react_agent_100x | 339 ms | 342 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 60.9 ms | 61.3 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 37.7 ms | 37.9 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 26.8 ms | 27.1 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 26.7 ms | 27.0 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 22.8 ms | 23.1 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| react_agent_10x | 30.5 ms | 31.0 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x slower |
+----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (12): wide_state_9x1200_checkpoint, wide_state_9x1200_checkpoint_sync, wide_state_25x300_checkpoint_sync, wide_state_25x300_checkpoint, react_agent_10x_checkpoint_sync, fanout_to_subgraph_100x_sync, wide_state_15x600_checkpoint_sync, wide_state_9x1200_sync, react_agent_100x_sync, wide_state_15x600_checkpoint, fanout_to_subgraph_10x_checkpoint, fanout_to_subgraph_100x_checkpoint_sync
|