Implement serialization with msgpack library #72
Triggered via pull request
September 13, 2024 22:50
Status
Success
Total duration
25m 30s
Artifacts
–
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/base.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 60.8 ms +- 2.5 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (10.2 ms) is 11% of the mean (93.2 ms)
Try to rerun the benchmark with more runs, values and/or loops.
Run 'python -m pyperf system tune' command to reduce the system jitter.
Use pyperf stats, pyperf dump and pyperf hist to analyze results.
Use --quiet option to hide these warnings.
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 93.2 ms +- 10.2 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 639 ms +- 53 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 827 ms +- 80 ms
.........................................
react_agent_10x: Mean +- std dev: 45.3 ms +- 1.8 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 63.8 ms +- 3.5 ms
.........................................
react_agent_100x: Mean +- std dev: 803 ms +- 25 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 1.68 sec +- 0.05 sec
.........................................
wide_state_25x300: Mean +- std dev: 20.9 ms +- 0.3 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 245 ms +- 8 ms
.........................................
wide_state_15x600: Mean +- std dev: 24.2 ms +- 0.3 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 417 ms +- 12 ms
.........................................
wide_state_9x1200: Mean +- std dev: 24.4 ms +- 0.4 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 273 ms +- 9 ms
|
Comparison against main:
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py#L1
+------------------------------------+----------+-----------------------+
| Benchmark | main | changes |
+====================================+==========+=======================+
| fanout_to_subgraph_100x_checkpoint | 1.15 sec | 827 ms: 1.39x faster |
+------------------------------------+----------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 107 ms | 93.2 ms: 1.15x faster |
+------------------------------------+----------+-----------------------+
| fanout_to_subgraph_10x | 61.4 ms | 60.8 ms: 1.01x faster |
+------------------------------------+----------+-----------------------+
| Geometric mean | (ref) | 1.13x faster |
+------------------------------------+----------+-----------------------+
Benchmark hidden because not significant (1): fanout_to_subgraph_100x
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
|