mirror of
https://github.com/micropython/micropython.git
synced 2025-07-20 20:41:10 +02:00
tests: Skip bm_pidigits perf test if no arbitrary precision int support.
The other performance tests run and pass with only 64-bit big integer support. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
committed by
Damien George
parent
0cf1e7c059
commit
d07f103d68
@@ -5,6 +5,12 @@
|
||||
# This benchmark stresses big integer arithmetic.
|
||||
# Adapted from code on: http://benchmarksgame.alioth.debian.org/
|
||||
|
||||
try:
|
||||
int("0x10000000000000000", 16)
|
||||
except:
|
||||
print("SKIP") # No support for >64-bit integers
|
||||
raise SystemExit
|
||||
|
||||
|
||||
def compose(a, b):
|
||||
aq, ar, as_, at = a
|
||||
|
Reference in New Issue
Block a user