Benchmarks

StOMP has a benchmark suite that is called StOMPBench. The benchmark uses relatively small-sized object graphs for measuring performance (which is a typical use case for StOMP).

Generally, StOMP total read/write speed is fast and its data size is compact.

NOTE: StOMP is not good at reading big object graph. Please see the other FuelBenckmarks result.

On VisualWorks 7.7.1:

StOMPBench

Serializes: StOMP, BOSS, SRP and Xtreams.

OS: Windows 7 professional 32bit, CPU: Core i5 M560, RAM: 4GB 

**StompBench**

writeReadBlogPost01 writeTime: 38.819 milliseconds readTime: 39.527 milliseconds total: 78.346 milliseconds size: 5449

writeReadBlogPost02 writeTime: 83.093 milliseconds readTime: 23.131 milliseconds total: 106.224 milliseconds size: 7603792

writeReadOrder01 writeTime: 45.849 milliseconds readTime: 40.211 milliseconds total: 86.06 milliseconds size: 148

writeReadPerson01 writeTime: 16.748 milliseconds readTime: 13.829 milliseconds total: 30.577 milliseconds size: 120

writeReadSearchResult01 writeTime: 49.266 milliseconds readTime: 43.647 milliseconds total: 92.913 milliseconds size: 1659

writeReadSearchResult02 writeTime: 102.095 milliseconds readTime: 106.434 milliseconds total: 208.529 milliseconds size: 21343

writeReadSession01 writeTime: 32.296 milliseconds readTime: 29.789 milliseconds total: 62.085 milliseconds size: 230

**StompBossBench**

writeReadBlogPost01 writeTime: 65.956 milliseconds readTime: 22.972 milliseconds total: 88.928 milliseconds size: 5924

writeReadBlogPost02 writeTime: 55.852 milliseconds readTime: 28.657 milliseconds total: 84.509 milliseconds size: 7604858

writeReadOrder01 writeTime: 207.391 milliseconds readTime: 86.141 milliseconds total: 293.532 milliseconds size: 475

writeReadPerson01 writeTime: 183.556 milliseconds readTime: 87.533 milliseconds total: 271.089 milliseconds size: 483

writeReadSearchResult01 writeTime: 102.707 milliseconds readTime: 40.744 milliseconds total: 143.451 milliseconds size: 2388

writeReadSearchResult02 writeTime: 157.606 milliseconds readTime: 37.661 milliseconds total: 195.267 milliseconds size: 21248

writeReadSession01 writeTime: 202.068 milliseconds readTime: 104.869 milliseconds total: 306.937 milliseconds size: 638

**StompSrpBench**

writeReadBlogPost01 writeTime: 96.425 milliseconds readTime: 98.8 milliseconds total: 195.225 milliseconds size: 5604

writeReadBlogPost02 writeTime: 634.634 milliseconds readTime: 607.056 milliseconds total: 1.24169 seconds size: 7603627

writeReadOrder01 writeTime: 127.377 milliseconds readTime: 81.582 milliseconds total: 208.959 milliseconds size: 294

writeReadPerson01 writeTime: 139.984 milliseconds readTime: 81.511 milliseconds total: 221.495 milliseconds size: 319

writeReadSearchResult01 writeTime: 83.453 milliseconds readTime: 65.394 milliseconds total: 148.847 milliseconds size: 1798

writeReadSearchResult02 writeTime: 166.135 milliseconds readTime: 127.117 milliseconds total: 293.252 milliseconds size: 17670

writeReadSession01 writeTime: 136.357 milliseconds readTime: 91.233 milliseconds total: 227.59 milliseconds size: 382

**StompXtreamsBench**

writeReadBlogPost01 writeTime: 596.495 milliseconds readTime: 568.108 milliseconds total: 1.164603 seconds size: 5378

writeReadBlogPost02 writeTime: 719.288 milliseconds readTime: 431.911 milliseconds total: 1.151199 seconds size: 7603624

writeReadOrder01 writeTime: 2.638459 seconds readTime: 2.599428 seconds total: 5.237887 seconds size: 162

writeReadPerson01 writeTime: 2.583762 seconds readTime: 2.568842 seconds total: 5.152604 seconds size: 131

writeReadSearchResult01 writeTime: 567.596 milliseconds readTime: 536.209 milliseconds total: 1.103805 seconds size: 1414

writeReadSearchResult02 writeTime: 265.802 milliseconds readTime: 227.809 milliseconds total: 493.611 milliseconds size: 19535

writeReadSession01 writeTime: 2.602096 seconds readTime: 2.610748 seconds total: 5.212844 seconds size: 245

On Pharo 1.2.1:

StompBench

Serializes: StOMP and Fuel 1.4.

OS: Windows 7 professional 32bit, CPU: Core i5 M560, RAM: 4GB 

**StompBench**

writeReadBlogPost01 writeTime: 146 readTime: 132 total: 278 size: 5449

writeReadBlogPost02 writeTime: 850 readTime: 288 total: 1138 size: 7603792

writeReadOrder01 writeTime: 251 readTime: 221 total: 472 size: 148

writeReadPerson01 writeTime: 98 readTime: 90 total: 188 size: 120

writeReadSearchResult01 writeTime: 227 readTime: 217 total: 444 size: 1671

writeReadSearchResult02 writeTime: 536 readTime: 539 total: 1075 size: 21543

writeReadSession01 writeTime: 147 readTime: 153 total: 300 size: 230

**StompFuelBench**

writeReadBlogPost01 writeTime: 194 readTime: 61 total: 255 size: 5570

writeReadBlogPost02 writeTime: 922 readTime: 283 total: 1205 size: 7603315

writeReadOrder01 writeTime: 592 readTime: 165 total: 757 size: 259

writeReadPerson01 writeTime: 688 readTime: 149 total: 837 size: 312

writeReadSearchResult01 writeTime: 460 readTime: 101 total: 561 size: 1820

writeReadSearchResult02 writeTime: 1153 readTime: 123 total: 1276 size: 18937

writeReadSession01 writeTime: 542 readTime: 156 total: 698 size: 349