Skip to content

Instantly share code, notes, and snippets.

@SamSaffron
Last active March 9, 2020 08:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamSaffron/d5c25829db17ab411fee3c17a10fbb87 to your computer and use it in GitHub Desktop.
Save SamSaffron/d5c25829db17ab411fee3c17a10fbb87 to your computer and use it in GitHub Desktop.
Running benchmark on 1 thread
--------------------
Topic View (dev): 6.298 (±20.8%) op/s
Topic Creation Time - no background queue: 3.855 (±7.1%) op/s
Cooking README.md: 100.992 (±55.9%) op/s
Booting Rails: 1.506 (±1.3%) seconds
Running benchmark on 16 threads
--------------------
Topic View (dev): 43.81 (±10.4%) op/s
Cooking README.md: 696.12 (±79.4%) op/s
Booting Rails: 4.85 (±4.3%) op/s
System Info
--------------------
memorysize: 62.75 GB
virtual: physical
architecture: x86_64
operatingsystem: Archlinux
kernelversion: 5.5.7
physicalprocessorcount: 1
processor0: Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=49eb440ab0786b6
Running benchmark on 1 core
--------------------
Topic View (dev): 3.827 (±42.6%) op/s
Topic Creation Time - no background queue: 3.466 (±5.0%) op/s
Cooking README.md: 93.924 (±47.7%) op/s
Booting Rails: 1.441 (±1.9%) seconds
Running benchmark on 16 cores
--------------------
Topic View (dev): 34.832 (±18.4%) op/s
Cooking README.md: 677.998 (±78.7%) op/s
Booting Rails: 5.054 (±2.0%) op/s
System Info
--------------------
memorysize: 50.16 GB
kernelversion: 4.19.84
operatingsystem: Ubuntu
physicalprocessorcount: 1
architecture: amd64
processor0: Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz
virtual: physical
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3
Running benchmark on 1 core
--------------------
Topic View: 6.245 (±11.0%) op/s
Topic Create: 4.065 (±11.9%) op/s
Post Spec: 11.346 (±0.0%) seconds
PBKdf2 64000 sha256: 13.338 (±5.4%) op/s
Cook README.md: 113.026 (±21.1%) op/s
Discourse Boot: 1.539 (±1.0%) seconds
Random Read: 15745.077 (±26.6%) op/s
Running benchmark on 12 cores
--------------------
Topic View: 36.06 (±5.6%) op/s
PBKdf2 64000 sha256: 64.071 (±7.2%) op/s
Cook README.md: 642.505 (±30.1%) op/s
Discourse Boot: 0.275 (±1.7%) seconds
Random Read: 85331.32 (±44.7%) op/s
System Info
--------------------
memorysize: 31.11 GB
operatingsystem: Archlinux
kernelversion: 5.5.8
architecture: x86_64
processor0: Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz
physicalprocessorcount: 1
virtual: physical
cores: 12
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=49eb440ab0786b6a
ruby = no shim
Running benchmark on 1 core
--------------------
Topic View: 4.081 (±10.6%) op/s
Topic Create: 3.295 (±6.5%) op/s
Post Spec: 17.598 (±0.6%) seconds
PBKdf2 64000 sha256: 12.546 (±4.1%) op/s
Cook README.md: 99.479 (±27.9%) op/s
Discourse Boot: 3.06 (±0.9%) seconds
Random Read: 1270.476 (±14.9%) op/s
Running benchmark on 12 cores
--------------------
Topic View: 19.673 (±9.1%) op/s
PBKdf2 64000 sha256: 49.937 (±4.7%) op/s
Cook README.md: 440.617 (±25.2%) op/s
Discourse Boot: 0.613 (±2.2%) seconds
Random Read: 6400.902 (±38.3%) op/s
System Info
--------------------
architecture: amd64
virtual: physical
operatingsystem: Ubuntu
kernelversion: 4.4.0
memorysize: 31.74 GB
physicalprocessorcount: 1
processor0: Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz
cores: 12
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2 (Ubuntu 12.2-2.pgdg18.04+1)
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=24bfc3160578820c
ruby: no shim
Running benchmark on 1 core
--------------------
Topic View: 6.33 (±12.6%) op/s
Topic Create: 3.915 (±5.6%) op/s
Post Spec: 12.308 (±2.0%) seconds
PBKdf2 64000 sha256: 13.373 (±3.1%) op/s
Cook README.md: 108.499 (±23.3%) op/s
Discourse Boot: 1.433 (±1.2%) seconds
Random Read: 14991.689 (±24.4%) op/s
Running benchmark on 12 cores
--------------------
Topic View: 26.725 (±7.8%) op/s
PBKdf2 64000 sha256: 49.035 (±15.2%) op/s
Cook README.md: 418.489 (±33.1%) op/s
Discourse Boot: 0.355 (±4.7%) seconds
Random Read: 61233.262 (±211.0%) op/s
System Info
--------------------
memorysize: 24.86 GB
kernelversion: 4.19.84
operatingsystem: Ubuntu
physicalprocessorcount: 1
architecture: amd64
processor0: Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz
virtual: physical
cores: 12
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2 (Ubuntu 12.2-2.pgdg18.04+1)
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=24bfc3160578820c
ruby: no shim
Running benchmark on 1 core
--------------------
Topic View: 2.717 (±10.9%) op/s
Topic Create: 1.995 (±2.1%) op/s
Post Spec: 23.396 (±1.7%) seconds
PBKdf2 64000 sha256: 5.357 (±2.6%) op/s
Cook README.md: 50.187 (±16.2%) op/s
Discourse Boot: 3.953 (±0.1%) seconds
Random Read: 2122.993 (±10.6%) op/s
Running benchmark on 8 cores
--------------------
Topic View: 11.516 (±6.4%) op/s
PBKdf2 64000 sha256: 20.208 (±3.9%) op/s
Cook README.md: 226.003 (±19.5%) op/s
Discourse Boot: 0.933 (±1.0%) seconds
Random Read: 10937.611 (±26.8%) op/s
Could not find a default route. Using first non-loopback interface
System Info
--------------------
kernelversion: 19.3.0
operatingsystem: Darwin
virtual: physical
architecture: x86_64
memorysize: 16.00 GB
cores: 8
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2
Redis server v=5.0.7 sha=00000000:0 malloc=libc bits=64 build=295beb9462eefd91
ruby: no shim
Running benchmark on 1 core
--------------------
Topic View: 1.394 (±35.8%) op/s
Topic Create: 1.977 (±2.8%) op/s
Post Spec: 23.738 (±0.6%) seconds
PBKdf2 64000 sha256: 7.431 (±1.8%) op/s
Cook README.md: 55.58 (±14.0%) op/s
Discourse Boot: 2.52 (±0.3%) seconds
Random Read: 6628.477 (±17.8%) op/s
Running benchmark on 8 cores
--------------------
Topic View: 9.382 (±17.8%) op/s
PBKdf2 64000 sha256: 31.273 (±10.1%) op/s
Cook README.md: 229.797 (±29.9%) op/s
Discourse Boot: 0.682 (±4.0%) seconds
Random Read: 27297.106 (±33.6%) op/s
System Info
--------------------
memorysize: 12.42 GB
kernelversion: 4.19.84
operatingsystem: Ubuntu
physicalprocessorcount: 1
architecture: amd64
processor0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
virtual: physical
cores: 8
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2 (Ubuntu 12.2-2.pgdg18.04+1)
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=24bfc3160578820c
ruby: no shim
@SamSaffron
Copy link
Author

git clone https://github.com/SamSaffron/discourse-dev-benchmark.git
bundle
./bench

Be sure redis and postgres are installed

@martin-brennan
Copy link

martin-brennan commented Mar 5, 2020

Dell XPS-15 running Ubuntu+KDE Plasma

Running benchmark on 1 core
--------------------

Topic View (dev): 4.638 (±39.6%) op/s
Topic Creation Time - no background queue: 3.019 (±16.8%) op/s
PBKdf2 64000 sha256: 12.503 (±8.4%) op/s
Cooking README.md: 84.241 (±75.0%) op/s
Booting Rails: 1.685 (±6.3%) seconds

Running benchmark on 16 cores
--------------------

Topic View (dev): 36.735 (±13.1%) op/s
PBKdf2 64000 sha256: 76.85 (±10.8%) op/s
Cooking README.md: 490.182 (±108.3%) op/s
Booting Rails: 3.987 (±4.2%) op/s


System Info
--------------------
operatingsystem: Ubuntu
kernelversion: 5.3.0
virtual: physical
architecture: amd64
memorysize: 31.01 GB
processor0: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
physicalprocessorcount: 1
cores: 16
ruby: 2.6.2
pg_ctl (PostgreSQL) 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=24bfc3160578820c

@lis2
Copy link

lis2 commented Mar 5, 2020

Dell XPS-15 WSL2

Running a benchmark on 1 core
--------------------

Topic View (dev): 4.426 (±22.8%) op/s
Topic Creation Time - no background queue: 2.748 (±3.3%) op/s
PBKdf2 64000 sha256: 11.128 (±4.1%) op/s
Cooking README.md: 72.074 (±70.2%) op/s
Booting Rails: 1.845 (±2.5%) seconds

Running benchmark on 12 cores
--------------------

Topic View (dev): 21.23 (±16.9%) op/s
PBKdf2 64000 sha256: 51.24 (±7.1%) op/s
Cooking README.md: 269.626 (±102.4%) op/s
Booting Rails: 2.609 (±3.5%) op/s


System Info
--------------------
memorysize: 24.85 GB
kernelversion: 4.19.84
operatingsystem: Ubuntu
physicalprocessorcount: 1
architecture: amd64
processor0: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
virtual: physical
cores: 12
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2 (Ubuntu 12.2-2.pgdg18.04+1)
Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3

@davidtaylorhq
Copy link

MacBook Pro (13-inch, 2018) (i7-8559U, 2.70GHz)

Redis server is started in pid 76849 port: 12000
Starting postgres on port: 11000
Waiting for PG server to start...
ERROR:  unrecognized configuration parameter "default_table_access_method"
PG server is ready and DB is loaded

Running benchmark on 1 core
--------------------

Topic View (dev): 4.179 (±21.4%) op/s
Topic Creation Time - no background queue: 2.669 (±6.4%) op/s
PBKdf2 64000 sha256: 10.934 (±8.2%) op/s
Cooking README.md: 73.467 (±85.5%) op/s
Booting Rails: 2.551 (±0.7%) seconds

Running benchmark on 8 cores
--------------------

Topic View (dev): 14.22 (±10.7%) op/s
PBKdf2 64000 sha256: 35.042 (±7.6%) op/s
Cooking README.md: 204.32 (±101.9%) op/s
Booting Rails: 1.468 (±1.5%) op/s
Could not find a default route. Using first non-loopback interface


System Info
--------------------
kernelversion: 19.3.0
operatingsystem: Darwin
virtual: physical
architecture: x86_64
memorysize: 16.00 GB
cores: 8
ruby: 2.6.2
pg_ctl (PostgreSQL) 10.9
Redis server v=4.0.10 sha=00000000:0 malloc=libc bits=64 build=ea14acb2d1b3b56f

@lis2
Copy link

lis2 commented Mar 5, 2020

PC PopOS

Running benchmark on 1 core
--------------------

Topic View (dev): 6.196 (±18.8%) op/s
Topic Creation Time - no background queue: 4.063 (±6.1%) op/s
PBKdf2 64000 sha256: 14.719 (±2.9%) op/s
Cooking README.md: 105.563 (±42.0%) op/s
Booting Rails: 1.414 (±1.1%) seconds

Running benchmark on 16 cores
--------------------

Topic View (dev): 46.869 (±11.5%) op/s
PBKdf2 64000 sha256: 111.126 (±4.4%) op/s
Cooking README.md: 791.28 (±88.0%) op/s
Booting Rails: 5.84 (±2.3%) op/s


System Info
--------------------
kernelversion: 5.3.0
operatingsystem: Ubuntu
virtual: physical
architecture: amd64
physicalprocessorcount: 1
processor0: Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz
memorysize: 62.73 GB
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 11.7 (Ubuntu 11.7-0ubuntu0.19.10.1)
Redis server v=5.0.5 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=8babad91eba747dd

@lis2
Copy link

lis2 commented Mar 5, 2020

PC WSL2

Running benchmark on 1 core
--------------------

Topic View (dev): 5.336 (±25.2%) op/s
Topic Creation Time - no background queue: 3.515 (±8.5%) op/s
PBKdf2 64000 sha256: 13.446 (±3.2%) op/s
Cooking README.md: 93.314 (±53.5%) op/s
Booting Rails: 1.457 (±3.6%) seconds

Running benchmark on 16 cores
--------------------

Topic View (dev): 40.31 (±15.8%) op/s
PBKdf2 64000 sha256: 110.839 (±5.4%) op/s
Cooking README.md: 689.999 (±93.1%) op/s
Booting Rails: 5.476 (±2.9%) op/s


System Info
--------------------
memorysize: 50.15 GB
kernelversion: 4.19.84
operatingsystem: Ubuntu
physicalprocessorcount: 1
architecture: amd64
processor0: Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz
virtual: physical
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2 (Ubuntu 12.2-2.pgdg18.04+1)
Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3

@xfalcox
Copy link

xfalcox commented Mar 5, 2020

Falco Desktop

Running benchmark on 1 core
--------------------

Topic View (dev): 6.214 (±18.3%) op/s
Topic Creation Time - no background queue: 3.401 (±10.8%) op/s
PBKdf2 64000 sha256: 18.444 (±4.9%) op/s
Cooking README.md: 92.212 (±61.0%) op/s
Booting Rails: 1.476 (±0.8%) seconds

Running benchmark on 16 cores
--------------------

Topic View (dev): 42.493 (±16.0%) op/s
PBKdf2 64000 sha256: 162.182 (±10.4%) op/s
Cooking README.md: 751.471 (±103.0%) op/s
Booting Rails: 5.995 (±3.1%) op/s


System Info
--------------------
memorysize: 31.37 GB
kernelversion: 5.5.2
operatingsystem: Ubuntu
virtual: physical
physicalprocessorcount: 1
architecture: amd64
processor0: AMD Ryzen 7 3700X 8-Core Processor
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2 (Ubuntu 12.2-2.pgdg18.04+1)
Redis server v=5.0.5 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build

@ZogStriP
Copy link

ZogStriP commented Mar 6, 2020

ZogStriP Devstop (VMWare Workstation 15 Player)

My cooking speed is awfully slow compared to everyone else's...

Redis server is started in pid 23989 port: 12000
Starting postgres on port: 11000
Waiting for PG server to start...
ERROR:  unrecognized configuration parameter "default_table_access_method"
ERROR:  unrecognized configuration parameter "default_table_access_method"
PG server is ready and DB is loaded

Running benchmark on 1 core
--------------------

Topic View (dev): 5.742 (±22.8%) op/s
Topic Creation Time - no background queue: 2.797 (±9.8%) op/s
Running the post model spec (including boot): 13.301 (±0.5%) seconds
PBKdf2 64000 sha256: 16.619 (±9.7%) op/s
Cooking README.md: 90.343 (±62.1%) op/s
Booting Rails: 1.667 (±2.1%) seconds

Running benchmark on 16 cores
--------------------

Topic View (dev): 46.48 (±15.7%) op/s
PBKdf2 64000 sha256: 193.305 (±16.2%) op/s
Cooking README.md: 112.18 (±146.3%) op/s
Booting Rails: 5.726 (±2.2%) op/s


System Info
--------------------
virtual: vmware
operatingsystem: Ubuntu
architecture: amd64
processor0: AMD Ryzen 9 3900X 12-Core Processor
kernelversion: 5.3.0
memorysize: 31.34 GB
physicalprocessorcount: 16
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=24bfc3160578820c

@pixeltrix
Copy link

MacBook Pro (16-inch, 2019) (2.3 GHz 8-Core Intel Core i9, 16GB RAM)

Redis server is started in pid 70730 port: 12000
Starting postgres on port: 11000
Waiting for PG server to start...
PG server is ready and DB is loaded

Running benchmark on 1 core
--------------------

Topic View (dev): 4.141 (±20.5%) op/s
Topic Creation Time - no background queue: 2.693 (±10.7%) op/s
Running the post model spec (including boot): 13.423 (±0.1%) seconds
PBKdf2 64000 sha256: 8.507 (±5.1%) op/s
Cooking README.md: 76.655 (±70.3%) op/s
Booting Rails: 2.393 (±2.1%) seconds

Running benchmark on 16 cores
--------------------

Topic View (dev): 27.547 (±14.8%) op/s
PBKdf2 64000 sha256: 49.304 (±6.0%) op/s
Cooking README.md: 314.599 (±84.9%) op/s
Booting Rails: 2.685 (±1.9%) op/s
Could not find a default route. Using first non-loopback interface


System Info
--------------------
kernelversion: 19.3.0
operatingsystem: Darwin
virtual: physical
architecture: x86_64
memorysize: 16.00 GB
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 12.2
Redis server v=5.0.7 sha=00000000:0 malloc=libc bits=64 build=295beb9462eefd91

@riking
Copy link

riking commented Mar 6, 2020

Kane's Ryzen 7 DAN A4

Redis server is started in pid 21716 port: 12000
Starting postgres on port: 11000
Waiting for PG server to start...
ERROR:  unrecognized configuration parameter "default_table_access_method"
ERROR:  unrecognized configuration parameter "default_table_access_method"
PG server is ready and DB is loaded

Running benchmark on 1 core
--------------------

Topic View (dev): 5.605 (±18.4%) op/s
Topic Creation Time - no background queue: 3.057 (±8.2%) op/s
Running the post model spec (including boot): 12.1 (±0.1%) seconds
PBKdf2 64000 sha256: 16.785 (±5.6%) op/s
Cooking README.md: 84.763 (±64.7%) op/s
Booting Rails: 1.713 (±2.4%) seconds

Running benchmark on 16 cores
--------------------

Topic View (dev): 40.47 (±14.5%) op/s
PBKdf2 64000 sha256: 166.248 (±4.6%) op/s
Cooking README.md: 657.162 (±104.8%) op/s
Booting Rails: 5.127 (±1.6%) op/s


System Info
--------------------
architecture: amd64
operatingsystem: Ubuntu
processor0: AMD Ryzen 7 3700X 8-Core Processor
virtual: physical
physicalprocessorcount: 1
memorysize: 31.34 GB
kernelversion: 5.3.0
cores: 16
ruby: 2.6.5
pg_ctl (PostgreSQL) 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment