checkpoint postgres: add a shallow checkpointer #1309
Annotations
1 warning and 2 notices
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Annotation:
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 61.7 ms +- 1.4 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 52.2 ms +- 0.8 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 74.1 ms +- 1.4 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 96.3 ms +- 2.8 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 649 ms +- 40 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 514 ms +- 14 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 765 ms +- 34 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 947 ms +- 29 ms
.........................................
react_agent_10x: Mean +- std dev: 31.0 ms +- 0.7 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.8 ms +- 0.7 ms
.........................................
react_agent_100x: Mean +- std dev: 341 ms +- 8 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 274 ms +- 2 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 837 ms +- 10 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 843 ms +- 17 ms
.........................................
wide_state_25x300: Mean +- std dev: 22.8 ms +- 0.5 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 14.8 ms +- 0.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 273 ms +- 12 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 277 ms +- 17 ms
.........................................
wide_state_15x600: Mean +- std dev: 27.0 ms +- 0.7 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.5 ms +- 0.4 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 480 ms +- 19 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 477 ms +- 18 ms
.........................................
wide_state_9x1200: Mean +- std dev: 26.9 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.5 ms +- 0.3 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 312 ms +- 16 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 312 ms +- 19 ms
|
Annotation:
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py#L1
+----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+========================================+=========+=======================+
| fanout_to_subgraph_100x_checkpoint | 791 ms | 765 ms: 1.03x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 858 ms | 837 ms: 1.03x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 75.3 ms | 74.1 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 37.1 ms | 36.8 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 97.0 ms | 96.3 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 38.2 ms | 37.9 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 52.6 ms | 52.2 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 23.0 ms | 22.8 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 61.3 ms | 61.7 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 26.7 ms | 27.0 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 17.3 ms | 17.5 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 308 ms | 312 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 470 ms | 477 ms: 1.02x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 273 ms | 277 ms: 1.02x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 470 ms | 480 ms: 1.02x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 17.1 ms | 17.5 ms: 1.02x slower |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 619 ms | 649 ms: 1.05x slower |
+----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x slower |
+----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (11): wide_state_25x300_checkpoint, wide_state_9x1200, fanout_to_subgraph_100x_checkpoint_sync, react_agent_100x, wide_state_25x300, wide_state_25x300_sync, react_agent_100x_sync, react_agent_10x, react_agent_100x_checkpoint_sync, fanout_to_subgraph_100x_sync, wide_state_9x1200_checkpoint
|
Loading