This website requires JavaScript.
Explore
Help
Sign In
m5
/
Core2forAWS-MicroPython
Watch
0
Star
0
Fork
0
You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced
2026-05-20 10:30:31 -07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
9708fe8788eebb87bf3b0d6232dbed2012cf7358
Core2forAWS-MicroPython
/
tests
/
internal_bench
/
bytealloc-2-repeat.py
T
10 lines
109 B
Python
Raw
Normal View
History
Unescape
Escape
tests/bench: Add testcase to compare bytes(N) vs b"\0" * N.
2016-06-08 14:28:18 +03:00
import
bench
tests: Format all Python code with black, except tests in basics subdir.
2020-03-22 21:26:08 -05:00
tests/bench: Add testcase to compare bytes(N) vs b"\0" * N.
2016-06-08 14:28:18 +03:00
def
test
(
num
)
:
for
i
in
iter
(
range
(
num
/
/
1000
)
)
:
b
"
\0
"
*
10000
tests: Format all Python code with black, except tests in basics subdir.
2020-03-22 21:26:08 -05:00
tests/bench: Add testcase to compare bytes(N) vs b"\0" * N.
2016-06-08 14:28:18 +03:00
bench
.
run
(
test
)
Reference in New Issue
Copy Permalink