Skip to content

Commit 1949436

Browse files
authored
Merge pull request #257 from parkpow/benchmark-blur-4k
Added 4K Images benchmark speeds
2 parents 5965fb1 + 4897499 commit 1949436

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

benchmark/benchmark_blur.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ Passmark: 2420.9990
4747
| 2560x1440 | 786.3 | 194.81, 83.06 | 868.37, 441.07 |
4848

4949
## AWS Instance Type - t3-xlarge 4-vCPU(2 core) 16 GiB Memory
50-
Processor: Intel Xeon Platinum 8259CL CPU @ 2.50GHz
50+
Processor: Intel Xeon Platinum 8259CL @ 2.50GHz
5151
NumSockets: 1
5252
Manufacturer: GenuineIntel
5353
NumCores: 2
5454
NumLogicals: 4
5555
CPUFrequency: 2499
5656
Passmark: 4039.57
5757

58-
### WORKERS =1 (DEFAULT)
58+
### WORKERS = 1 (DEFAULT)
5959

6060
| Resolution | Speed | Peak CPU% (Blur, Snapshot) | Peak MEM in MiB (Blur, Snapshot) |
6161
|------------|-------|----------------------------|----------------------------------|
@@ -82,3 +82,20 @@ Passmark: 4039.57
8282
| 1920x1080 | 360.1 | 371.16, 93.14 | 1711.66, 715.22 |
8383
| 2560x1440 | 614.7 | 402.30, 164.91 | 1800.31, 790.79 |
8484

85+
## Local Machine Benchmark - 12th Gen Intel Core i3-1215U (6 Cores, 8 Threads, 16 GiB RAM)
86+
Processor: Intel Core i3-1215U @ 1.20GHz
87+
Manufacturer: GenuineIntel
88+
NumCores: 6
89+
NumLogicals: 8
90+
CPUFrequency: 4400
91+
Passmark: 10432
92+
93+
### 4K Images Benchmark
94+
95+
| Filename | Avg Speed (ms) | Min Speed (ms) | Max Speed (ms) |
96+
|---------------|----------------|----------------|----------------|
97+
| [single-1.jpg](https://drive.google.com/file/d/19IafPgGJLawOn7fv4MbXFd1Wc4yt78-X/view?usp=drive_link) | 1920.3 | 559.4 | 2129.1 |
98+
| [single-2.jpg](https://drive.google.com/file/d/1ntqdpxi4cDSkTr14RaqUlKC8f9wnCs2M/view?usp=drive_link) | 2442.6 | 691.4 | 2619.9 |
99+
| [many-1.jpg](https://drive.google.com/file/d/126AphdZb6jqnUVjChmZRiRCdIk_1FuGN/view?usp=drive_link) | 3266.8 | 817.3 | 3965.1 |
100+
| [many-2.jpg](https://drive.google.com/file/d/16hfH_nGZ_omyfiQtT_U69NI3Ju5jQ3Aw/view?usp=drive_link) | 4514.9 | 1092.2 | 5180.0 |
101+
| [many-3.jpg](https://drive.google.com/file/d/1_r1w6Z5K9IJUWJJe9mzifpwZNU_Li9M0/view?usp=drive_link) | 3687.1 | 989.0 | 4175.9 |

benchmark/benchmark_snapshot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import math
33
from concurrent.futures import ThreadPoolExecutor
44
from functools import partial
5+
from statistics import mean
56
from timeit import default_timer
67

78
import psutil
@@ -104,7 +105,7 @@ def benchmark(args, executor):
104105
mode=config.get("mode", "regular"),
105106
min=min(stats),
106107
max=max(stats),
107-
avg=duration / args.iterations,
108+
avg=mean(stats),
108109
)
109110

110111

0 commit comments

Comments
 (0)