Skip to content

Benchmarks: Add timeline benchmark

lain requested to merge benchmark_timeline into develop

A benchmark for the user timeline.

1000 users / followers

Run on this branch:

Compiling 109 files (.ex)
RUM enabled: false

18:49:51.948 [warn]  Found files in the emoji folder. These will be ignored, please move them to a subdirectory
Found files: test.png
Deleting old data...

Starting generating 1000 users...
Inserting users take 2.120918 sec.

Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, no followers with input no user...
Benchmarking user timeline, no followers with input user...

##### With input no user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers         27.32       36.61 ms    ±12.23%       36.34 ms       43.59 ms

##### With input user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers          5.16      193.92 ms     ±4.76%      192.89 ms      242.44 ms
Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, all following with input no user...
Benchmarking user timeline, all following with input user...

##### With input no user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following         27.02       37.01 ms    ±18.29%       36.52 ms       51.80 ms

##### With input user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following          5.08      196.93 ms     ±4.29%      195.92 ms      236.75 ms

Run on the branch in !2323 (merged)

RUM enabled: false
Compiling 109 files (.ex)
RUM enabled: false

18:44:18.453 [warn]  Found files in the emoji folder. These will be ignored, please move them to a subdirectory
Found files: test.png
Deleting old data...

Starting generating 1000 users...
Inserting users take 2.140253 sec.

Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, no followers with input no user...
Benchmarking user timeline, no followers with input user...

##### With input no user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers         17.52       57.08 ms     ±5.70%       57.06 ms       65.09 ms

##### With input user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers          7.88      126.90 ms     ±6.46%      126.92 ms      150.13 ms
Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, all following with input no user...
Benchmarking user timeline, all following with input user...

##### With input no user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following         17.45       57.31 ms    ±11.91%       56.86 ms       79.03 ms

##### With input user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following          7.70      129.82 ms     ±5.66%      129.39 ms      155.88 ms

10000 users / followers

On this branch


RUM enabled: false
Compiling 1 file (.ex)

19:07:18.854 [warn]  Found files in the emoji folder. These will be ignored, please move them to a subdirectory
Found files: test.png
Deleting old data...

Starting generating 10000 users...
Inserting users take 21.296498 sec.

Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, no followers with input no user...
Benchmarking user timeline, no followers with input user...

##### With input no user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers         16.49       60.66 ms     ±6.10%       60.69 ms       68.53 ms

##### With input user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers          4.87      205.25 ms     ±4.86%      205.62 ms      232.35 ms
Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, all following with input no user...
Benchmarking user timeline, all following with input user...

##### With input no user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following         16.72       59.82 ms     ±5.01%       59.94 ms       66.42 ms

##### With input user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following          4.28      233.73 ms     ±3.54%      233.77 ms      258.15 ms

On the branch in !2323 (merged)

RUM enabled: false
Compiling 109 files (.ex)
RUM enabled: false

19:18:28.699 [warn]  Found files in the emoji folder. These will be ignored, please move them to a subdirectory
Found files: test.png
Deleting old data...

Starting generating 10000 users...
Inserting users take 22.502748 sec.

Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, no followers with input no user...
Benchmarking user timeline, no followers with input user...

##### With input no user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers         15.56       64.27 ms     ±8.34%       64.52 ms       74.80 ms

##### With input user #####
Name                                  ips        average  deviation         median         99th %
user timeline, no followers          7.70      129.92 ms     ±3.82%      130.30 ms      140.61 ms
Not all of your protocols have been consolidated. In order to achieve the
best possible accuracy for benchmarks, please ensure protocol
consolidation is enabled in your benchmarking environment.

Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 62.73 GB
Elixir 1.9.4
Erlang 22.2.6

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 1 min
memory time: 0 ns
parallel: 1
inputs: no user, user
Estimated total run time: 2.07 min

Benchmarking user timeline, all following with input no user...
Benchmarking user timeline, all following with input user...

##### With input no user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following         15.84       63.12 ms     ±6.57%       63.47 ms       72.15 ms

##### With input user #####
Name                                   ips        average  deviation         median         99th %
user timeline, all following          6.12      163.36 ms     ±3.34%      163.71 ms      176.79 ms
Edited by lain

Merge request reports