Skip to content

Commit 7b016e6

Browse files
authored
tests: sort tests functions in bench_bgra2rgb.py
1 parent 9f0aef0 commit 7b016e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/bench_bgra2rgb.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@
66
77
88
GNU/Linux
9-
pil_frombytes_rgb 51
109
pil_frombytes 139
1110
mss_rgb 119
11+
pil_frombytes_rgb 51
1212
numpy_flip 31
1313
numpy_slice 29
1414
1515
macOS
16-
pil_frombytes_rgb 113
1716
pil_frombytes 209
1817
mss_rgb 174
18+
pil_frombytes_rgb 113
1919
numpy_flip 39
2020
numpy_slice 36
2121
2222
Windows
23-
pil_frombytes_rgb 42
2423
pil_frombytes 81
2524
mss_rgb 66
25+
pil_frombytes_rgb 42
2626
numpy_flip 25
2727
numpy_slice 22
2828
"""
@@ -61,9 +61,9 @@ def pil_frombytes(im):
6161
def benchmark():
6262
with mss.mss() as sct:
6363
im = sct.grab(sct.monitors[0])
64-
for func in (pil_frombytes_rgb,
65-
pil_frombytes,
64+
for func in (pil_frombytes,
6665
mss_rgb,
66+
pil_frombytes_rgb,
6767
numpy_flip,
6868
numpy_slice):
6969
count = 0

0 commit comments

Comments
 (0)