cschleiden / go-workflows

Embedded durable workflows for Golang similar to DTFx/Cadence/Temporal
https://cschleiden.github.io/go-workflows/
MIT License
233 stars 49 forks source link

Move mysql attributes to separate table #275

Closed cschleiden closed 11 months ago

cschleiden commented 11 months ago

Closes: #39

cschleiden commented 11 months ago

!bench !large

cschleiden commented 11 months ago

!bench !verylarge

github-actions[bot] commented 11 months ago

Default run

Command Mean [ms] Min [ms] Max [ms] Relative
mysql-main 624.1 ± 154.0 500.6 999.0 1.00
mysql-pr 731.6 ± 96.0 568.7 870.7 1.17 ± 0.33
Command Mean [ms] Min [ms] Max [ms] Relative
sqlite-main 754.3 ± 111.1 600.5 897.0 1.06 ± 0.25
sqlite-pr 712.6 ± 134.1 516.2 901.3 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
redis-main 196.2 ± 8.9 182.7 211.4 1.05 ± 0.11
redis-pr 186.1 ± 16.9 140.1 204.6 1.00

Large payload run (1MB)

Command Mean [s] Min [s] Max [s] Relative
mysql-main 47.101 ± 3.163 41.326 51.325 1.06 ± 0.08
mysql-pr 44.554 ± 1.495 42.588 47.031 1.00
Command Mean [s] Min [s] Max [s] Relative
sqlite-main 38.030 ± 2.423 33.940 41.359 1.00
sqlite-pr 39.278 ± 1.476 37.707 42.264 1.03 ± 0.08
Command Mean [s] Min [s] Max [s] Relative
redis-main 39.345 ± 7.120 31.223 49.043 1.08 ± 0.28
redis-pr 36.298 ± 6.645 30.149 50.236 1.00