checkpoint postgres: add a shallow checkpointer #1306
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: 60.2 ms +- 1.1 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 51.8 ms +- 0.6 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 73.4 ms +- 0.9 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 93.6 ms +- 1.1 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 602 ms +- 24 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 507 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 746 ms +- 12 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 936 ms +- 17 ms
.........................................
react_agent_10x: Mean +- std dev: 30.5 ms +- 0.6 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.7 ms +- 0.5 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 37.8 ms +- 0.7 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.7 ms +- 0.4 ms
.........................................
react_agent_100x: Mean +- std dev: 337 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 272 ms +- 2 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 841 ms +- 5 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 834 ms +- 5 ms
.........................................
wide_state_25x300: Mean +- std dev: 22.8 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 14.7 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 275 ms +- 13 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 273 ms +- 12 ms
.........................................
wide_state_15x600: Mean +- std dev: 26.6 ms +- 0.5 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.1 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 473 ms +- 15 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 473 ms +- 14 ms
.........................................
wide_state_9x1200: Mean +- std dev: 26.6 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.1 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 307 ms +- 13 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 305 ms +- 13 ms
|
Annotation:
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_100x_checkpoint | 758 ms | 746 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 94.8 ms | 93.6 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 74.4 ms | 73.4 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 512 ms | 507 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 943 ms | 936 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 273 ms | 272 ms: 1.00x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 835 ms | 841 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 828 ms | 834 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.5 ms | 22.7 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 37.5 ms | 37.8 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x faster |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (18): fanout_to_subgraph_100x, fanout_to_subgraph_10x, react_agent_100x, wide_state_9x1200_sync, wide_state_25x300, wide_state_15x600_sync, react_agent_10x, fanout_to_subgraph_10x_sync, wide_state_9x1200_checkpoint_sync, wide_state_25x300_sync, wide_state_9x1200_checkpoint, wide_state_15x600_checkpoint, wide_state_25x300_checkpoint_sync, react_agent_10x_checkpoint_sync, wide_state_15x600_checkpoint_sync, wide_state_15x600, wide_state_9x1200, wide_state_25x300_checkpoint
|
Loading