mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Add fixnum arithmetic benchmarks.
* benchmark-suite/benchmarks/arithmetic.bm ("fixnum")["*", "/"]: New benchmarks.
This commit is contained in:
parent
0c57673a11
commit
2427baa6a2
1 changed files with 7 additions and 1 deletions
|
@ -58,4 +58,10 @@
|
|||
(repeat (+ 2 <>) 7 100))
|
||||
|
||||
(benchmark "-" 1e7
|
||||
(repeat (+ 2 <>) 7 100)))
|
||||
(repeat (+ 2 <>) 7 100))
|
||||
|
||||
(benchmark "*" 1e7
|
||||
(repeat (* 1 <>) 1 100))
|
||||
|
||||
(benchmark "/" 1e7
|
||||
(repeat (/ 2 <>) 1 100)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue