From 32a37c5cf8d5d8d64f43d7dcf9eb27fdd91e88b0 Mon Sep 17 00:00:00 2001 From: Mario Pareja Date: Mon, 18 May 2020 10:14:39 -0400 Subject: [PATCH] package: refresh benchmarks after upgrades --- .../test/benchmark/noop-consumer.benchmark.js | 2 +- ...-consumer-2020-05-18T14-12-20.results.json | 40 +++++++++++++++++++ ...et-stream-2020-05-18T13-33-28.results.json | 40 +++++++++++++++++++ ...-messages-2020-05-18T13-38-23.results.json | 40 +++++++++++++++++++ ...e-message-2020-05-18T13-34-44.results.json | 40 +++++++++++++++++++ 5 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 consumer/test/benchmark/results/noop-consumer-2020-05-18T14-12-20.results.json create mode 100644 message-store/postgres/test/benchmark/results/get-stream-2020-05-18T13-33-28.results.json create mode 100644 message-store/postgres/test/benchmark/results/write-batch-messages-2020-05-18T13-38-23.results.json create mode 100644 message-store/postgres/test/benchmark/results/write-single-message-2020-05-18T13-34-44.results.json diff --git a/consumer/test/benchmark/noop-consumer.benchmark.js b/consumer/test/benchmark/noop-consumer.benchmark.js index 293fa65..1baaf6c 100644 --- a/consumer/test/benchmark/noop-consumer.benchmark.js +++ b/consumer/test/benchmark/noop-consumer.benchmark.js @@ -6,7 +6,7 @@ const { initializeStore, log } = require('../interactive/init') const { InteractiveMessage } = require('../interactive/messages') const category = process.env.CATEGORY || exampleCategory('NoOpConsumerBenchmark', { randomize: true }) -const total = process.env.CYCLES || 1e3 +const total = process.env.CYCLES || 1e6 benchmark() diff --git a/consumer/test/benchmark/results/noop-consumer-2020-05-18T14-12-20.results.json b/consumer/test/benchmark/results/noop-consumer-2020-05-18T14-12-20.results.json new file mode 100644 index 0000000..92ffbee --- /dev/null +++ b/consumer/test/benchmark/results/noop-consumer-2020-05-18T14-12-20.results.json @@ -0,0 +1,40 @@ +{ + "date": "2020-05-18T14:12:20.579Z", + "count": 1000000, + "durationMicroSeconds": 20677370.288, + "averageOverheadMicroSeconds": 20.677, + "operationsPerSecond": 48362.049, + "cpu": { + "manufacturer": "Intel®", + "brand": "Xeon® E3-1225 v3", + "vendor": "GenuineIntel", + "family": "6", + "model": "60", + "stepping": "3", + "revision": "", + "voltage": "", + "speed": "3.20", + "speedmin": "0.80", + "speedmax": "3.20", + "governor": "powersave", + "cores": 8, + "physicalCores": 4, + "processors": 1, + "socket": "", + "cache": { + "l1d": 32768, + "l1i": 32768, + "l2": 262144, + "l3": 8388608 + } + }, + "os": { + "platform": "linux", + "distro": "Ubuntu", + "release": "18.04.4 LTS", + "kernel": "4.15.0-99-generic", + "arch": "x64", + "servicepack": "" + }, + "node": "v12.16.0" +} \ No newline at end of file diff --git a/message-store/postgres/test/benchmark/results/get-stream-2020-05-18T13-33-28.results.json b/message-store/postgres/test/benchmark/results/get-stream-2020-05-18T13-33-28.results.json new file mode 100644 index 0000000..cb741ac --- /dev/null +++ b/message-store/postgres/test/benchmark/results/get-stream-2020-05-18T13-33-28.results.json @@ -0,0 +1,40 @@ +{ + "date": "2020-05-18T13:33:28.840Z", + "count": 100000, + "durationMicroSeconds": 42637963.262, + "averageOverheadMicroSeconds": 426.38, + "operationsPerSecond": 2345.328, + "cpu": { + "manufacturer": "Intel®", + "brand": "Xeon® E3-1225 v3", + "vendor": "GenuineIntel", + "family": "6", + "model": "60", + "stepping": "3", + "revision": "", + "voltage": "", + "speed": "3.20", + "speedmin": "0.80", + "speedmax": "3.20", + "governor": "powersave", + "cores": 8, + "physicalCores": 4, + "processors": 1, + "socket": "", + "cache": { + "l1d": 32768, + "l1i": 32768, + "l2": 262144, + "l3": 8388608 + } + }, + "os": { + "platform": "linux", + "distro": "Ubuntu", + "release": "18.04.4 LTS", + "kernel": "4.15.0-99-generic", + "arch": "x64", + "servicepack": "" + }, + "node": "v12.16.0" +} \ No newline at end of file diff --git a/message-store/postgres/test/benchmark/results/write-batch-messages-2020-05-18T13-38-23.results.json b/message-store/postgres/test/benchmark/results/write-batch-messages-2020-05-18T13-38-23.results.json new file mode 100644 index 0000000..ea004ce --- /dev/null +++ b/message-store/postgres/test/benchmark/results/write-batch-messages-2020-05-18T13-38-23.results.json @@ -0,0 +1,40 @@ +{ + "date": "2020-05-18T13:38:23.947Z", + "count": 100, + "durationMicroSeconds": 30193675.005, + "averageOverheadMicroSeconds": 301936.75, + "operationsPerSecond": 3.312, + "cpu": { + "manufacturer": "Intel®", + "brand": "Xeon® E3-1225 v3", + "vendor": "GenuineIntel", + "family": "6", + "model": "60", + "stepping": "3", + "revision": "", + "voltage": "", + "speed": "3.20", + "speedmin": "0.80", + "speedmax": "3.20", + "governor": "powersave", + "cores": 8, + "physicalCores": 4, + "processors": 1, + "socket": "", + "cache": { + "l1d": 32768, + "l1i": 32768, + "l2": 262144, + "l3": 8388608 + } + }, + "os": { + "platform": "linux", + "distro": "Ubuntu", + "release": "18.04.4 LTS", + "kernel": "4.15.0-99-generic", + "arch": "x64", + "servicepack": "" + }, + "node": "v12.16.0" +} \ No newline at end of file diff --git a/message-store/postgres/test/benchmark/results/write-single-message-2020-05-18T13-34-44.results.json b/message-store/postgres/test/benchmark/results/write-single-message-2020-05-18T13-34-44.results.json new file mode 100644 index 0000000..dd6e698 --- /dev/null +++ b/message-store/postgres/test/benchmark/results/write-single-message-2020-05-18T13-34-44.results.json @@ -0,0 +1,40 @@ +{ + "date": "2020-05-18T13:34:44.167Z", + "count": 100000, + "durationMicroSeconds": 45741778.827, + "averageOverheadMicroSeconds": 457.418, + "operationsPerSecond": 2186.185, + "cpu": { + "manufacturer": "Intel®", + "brand": "Xeon® E3-1225 v3", + "vendor": "GenuineIntel", + "family": "6", + "model": "60", + "stepping": "3", + "revision": "", + "voltage": "", + "speed": "3.20", + "speedmin": "0.80", + "speedmax": "3.20", + "governor": "powersave", + "cores": 8, + "physicalCores": 4, + "processors": 1, + "socket": "", + "cache": { + "l1d": 32768, + "l1i": 32768, + "l2": 262144, + "l3": 8388608 + } + }, + "os": { + "platform": "linux", + "distro": "Ubuntu", + "release": "18.04.4 LTS", + "kernel": "4.15.0-99-generic", + "arch": "x64", + "servicepack": "" + }, + "node": "v12.16.0" +} \ No newline at end of file