Skip to content

checkpoint postgres: allow passing custom serde #67

checkpoint postgres: allow passing custom serde

checkpoint postgres: allow passing custom serde #67

Triggered via pull request September 13, 2024 02:01
Status Success
Total duration 33m 7s
Artifacts

bench.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 warning and 2 notices
benchmark
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/
Benchmark results: libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 60.2 ms +- 1.9 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 108 ms +- 10 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 601 ms +- 28 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 1.05 sec +- 0.04 sec ......................................... react_agent_10x: Mean +- std dev: 43.7 ms +- 0.7 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 80.5 ms +- 0.7 ms ......................................... react_agent_100x: Mean +- std dev: 779 ms +- 6 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 2.80 sec +- 0.09 sec ......................................... wide_state_25x300: Mean +- std dev: 21.3 ms +- 0.3 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 657 ms +- 6 ms ......................................... wide_state_15x600: Mean +- std dev: 24.8 ms +- 0.4 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 1.20 sec +- 0.01 sec ......................................... wide_state_9x1200: Mean +- std dev: 24.8 ms +- 0.3 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 754 ms +- 7 ms
Comparison against main: libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py#L1
+------------------------------------+----------+------------------------+ | Benchmark | main | changes | +====================================+==========+========================+ | fanout_to_subgraph_100x_checkpoint | 1.15 sec | 1.05 sec: 1.10x faster | +------------------------------------+----------+------------------------+ | fanout_to_subgraph_100x | 636 ms | 601 ms: 1.06x faster | +------------------------------------+----------+------------------------+ | fanout_to_subgraph_10x | 61.4 ms | 60.2 ms: 1.02x faster | +------------------------------------+----------+------------------------+ | Geometric mean | (ref) | 1.04x faster | +------------------------------------+----------+------------------------+ Benchmark hidden because not significant (1): fanout_to_subgraph_10x_checkpoint Ignored benchmarks (10) of out/changes.json: react_agent_100x, react_agent_100x_checkpoint, react_agent_10x, react_agent_10x_checkpoint, wide_state_15x600, wide_state_15x600_checkpoint, wide_state_25x300, wide_state_25x300_checkpoint, wide_state_9x1200, wide_state_9x1200_checkpoint