Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
ec14f9e5
Commit
ec14f9e5
authored
May 28, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X compilebench: Fix thinko: op/s -> s/op
We mesure time, not operations per second.
parent
26ad1917
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
t/compilebench/doit.sh
t/compilebench/doit.sh
+4
-4
No files found.
t/compilebench/doit.sh
View file @
ec14f9e5
...
@@ -49,17 +49,17 @@ for CC in gcc tcc; do
...
@@ -49,17 +49,17 @@ for CC in gcc tcc; do
rm
-f
pystone_pypyx.
{
o,so
}
rm
-f
pystone_pypyx.
{
o,so
}
for
i
in
`
seq
$N
`
;
do
for
i
in
`
seq
$N
`
;
do
export
TIMEFORMAT
=
"Benchmark
${
CC
}
compile 1 %R
op/s
"
export
TIMEFORMAT
=
"Benchmark
${
CC
}
compile 1 %R
s/op
"
time
compile pystone_pypyx
time
compile pystone_pypyx
done
done
for
i
in
`
seq
$N
`
;
do
for
i
in
`
seq
$N
`
;
do
export
TIMEFORMAT
=
"Benchmark
${
CC
}
link 1 %R
op/s
"
export
TIMEFORMAT
=
"Benchmark
${
CC
}
link 1 %R
s/op
"
time link
pystone_pypyx
time link
pystone_pypyx
done
done
for
i
in
`
seq
$N
`
;
do
for
i
in
`
seq
$N
`
;
do
export
TIMEFORMAT
=
"Benchmark
${
CC
}
compile+link 1 %R
op/s
"
export
TIMEFORMAT
=
"Benchmark
${
CC
}
compile+link 1 %R
s/op
"
time
compileandlink pystone_pypyx
time
compileandlink pystone_pypyx
done
done
...
@@ -73,7 +73,7 @@ for CC in gcc tcc; do
...
@@ -73,7 +73,7 @@ for CC in gcc tcc; do
fi
fi
for
i
in
`
seq
$N
`
;
do
for
i
in
`
seq
$N
`
;
do
export
TIMEFORMAT
=
"Benchmark
${
CC
}
compile+linkO2 1 %R
op/s
"
export
TIMEFORMAT
=
"Benchmark
${
CC
}
compile+linkO2 1 %R
s/op
"
time
compileandlink pystone_pypyx
"-O2"
time
compileandlink pystone_pypyx
"-O2"
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment