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

Store event payloads in separate key #273

Closed cschleiden closed 12 months ago

cschleiden commented 12 months ago

Contributes to: #39

cschleiden commented 12 months ago

!bench !large !verylarge

cschleiden commented 12 months ago

!bench !large

github-actions[bot] commented 12 months ago

Default run

Command Mean [ms] Min [ms] Max [ms] Relative
mysql-main 397.1 ± 61.6 338.7 531.3 1.02 ± 0.22
mysql-pr 388.9 ± 56.4 288.9 484.0 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
sqlite-main 613.0 ± 137.5 413.6 848.5 1.08 ± 0.34
sqlite-pr 565.8 ± 125.1 419.0 817.1 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
redis-main 144.1 ± 20.3 120.7 184.2 1.00
redis-pr 151.6 ± 17.9 130.3 178.5 1.05 ± 0.19

Large payload run (1MB)

Command Mean [s] Min [s] Max [s] Relative
mysql-main 25.225 ± 1.022 23.990 26.976 1.00
mysql-pr 28.509 ± 9.878 24.180 56.520 1.13 ± 0.39
Command Mean [s] Min [s] Max [s] Relative
sqlite-main 21.766 ± 0.608 20.362 22.421 1.03 ± 0.05
sqlite-pr 21.230 ± 0.811 20.184 22.520 1.00
Command Mean [s] Min [s] Max [s] Relative
redis-main 22.134 ± 0.505 21.359 22.794 1.06 ± 0.05
redis-pr 20.977 ± 0.764 19.916 21.812 1.00