Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1a728d0
autodiscover all configs add all the latest configs up to 0.4.0-SNAPSHOT
valdisxp1 May 12, 2019
47e0591
explicitly set project names
valdisxp1 May 12, 2019
54e03ea
0.3.9 release did not have nativeLTO
valdisxp1 May 18, 2019
c43fbcd
Ignore build.sbt and plugins.sbt files because they keep getting chan…
valdisxp1 May 18, 2019
90be660
0.3.9 release did not have nativeLTO
valdisxp1 May 18, 2019
92ea36f
refactor run.py
valdisxp1 May 15, 2019
5e0c1f3
extract even more
valdisxp1 May 16, 2019
7a8b159
fix summary.py
valdisxp1 May 16, 2019
7573380
configurable batch sizes and run count
valdisxp1 May 16, 2019
9a5559d
persist settings in the results folders
valdisxp1 May 18, 2019
df5930b
misc fixes
valdisxp1 May 18, 2019
1d041ec
move common command line parsing to shared module
valdisxp1 May 18, 2019
dc0129e
interactive mode as its own file
valdisxp1 May 18, 2019
e677dbf
cleanup
valdisxp1 May 18, 2019
190c6df
more general percentile methods
valdisxp1 May 18, 2019
d637584
writing csv files, separate reports class
valdisxp1 May 21, 2019
c521e78
refactor use dictionaries as intermediate representation
valdisxp1 May 26, 2019
a21eace
convert between report and dictionary
valdisxp1 May 26, 2019
e67c469
do not overwrite existing report
valdisxp1 May 26, 2019
edd67bb
fixes
valdisxp1 May 26, 2019
783c892
ability to specify the comment
valdisxp1 May 26, 2019
d8b44ac
Remove spurious configs
WojciechMazur Feb 16, 2021
b2e2544
Rebase onto current master, remove Python2 syntax,
WojciechMazur Feb 16, 2021
9862766
Add 0.4.1-SNAPSHOT config
WojciechMazur Feb 16, 2021
96269c5
Remove accidentally create files
WojciechMazur Feb 16, 2021
dc48d4f
Update default interactive notepad
WojciechMazur Feb 16, 2021
e8138d3
Revert adding default scala version to stable and last version
WojciechMazur Feb 16, 2021
a1a7e43
Allow for running jvm benchmarks
WojciechMazur Feb 16, 2021
5ab30af
Styling fixes
WojciechMazur Feb 16, 2021
81bde8e
Fix bug in comparsion, lower default_warmup to 25% of default iterations
WojciechMazur Feb 16, 2021
c96ac4a
Normalize names of modules and run commands in case if local reposito…
WojciechMazur Feb 17, 2021
ed42f51
Handle missing required and optional config file
WojciechMazur Feb 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@ target/
bin/.coursier
bin/.scalafmt*
results/
reports/
*.iprof
.idea
build.sbt
project/plugins.sbt
/scripts/.ipynb_checkpoints/
/.bloop/
/.bsp/
/.metals/
/.vscode/
1 change: 1 addition & 0 deletions confs/jvm/build.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"
1 change: 0 additions & 1 deletion confs/jvm/plugins.sbt

This file was deleted.

1 change: 1 addition & 0 deletions confs/native-image-pgo/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"

val instrumentedRuns = settingKey[Int]("The number of instrumented runs.")
Expand Down
1 change: 1 addition & 0 deletions confs/native-image/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"

val nativeImage = taskKey[Unit]("Builds a native image of a benchmark.")
Expand Down
1 change: 1 addition & 0 deletions confs/scala-native-0.3.7/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
Expand Down
1 change: 1 addition & 0 deletions confs/scala-native-0.3.8/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
Expand Down
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
Expand Down
2 changes: 1 addition & 1 deletion confs/scala-native-0.3.9/run
Original file line number Diff line number Diff line change
@@ -1 +1 @@
target/scala-2.11/benchmarks-out
target/scala-2.11/scala-native-benchmarks-out
5 changes: 3 additions & 2 deletions confs/scala-native-0.4.0-2.11/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
import scala.scalanative.build
nativeConfig ~= {
_.withGC(build.GC.immix)
.withMode(build.Mode.releaseFull)
.withLTO(build.LTO.thin)
.withMode(build.Mode.releaseFull)
.withLTO(build.LTO.thin)
}
2 changes: 1 addition & 1 deletion confs/scala-native-0.4.0-2.11/run
Original file line number Diff line number Diff line change
@@ -1 +1 @@
target/scala-2.11/benchmarks-out
target/scala-2.11/scala-native-benchmarks-out
5 changes: 3 additions & 2 deletions confs/scala-native-0.4.0-2.12/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name := "scala-native-benchmarks"
scalaVersion := "2.12.13"
enablePlugins(ScalaNativePlugin)
import scala.scalanative.build
nativeConfig ~= {
_.withGC(build.GC.immix)
.withMode(build.Mode.releaseFull)
.withLTO(build.LTO.thin)
.withMode(build.Mode.releaseFull)
.withLTO(build.LTO.thin)
}
2 changes: 1 addition & 1 deletion confs/scala-native-0.4.0-2.12/run
Original file line number Diff line number Diff line change
@@ -1 +1 @@
target/scala-2.12/benchmarks-out
target/scala-2.12/scala-native-benchmarks-out
1 change: 1 addition & 0 deletions confs/scala-native-0.4.0-M2/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name := "scala-native-benchmarks"
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
Expand Down
2 changes: 1 addition & 1 deletion confs/scala-native-0.4.0-M2/run
Original file line number Diff line number Diff line change
@@ -1 +1 @@
target/scala-2.11/benchmarks-out
target/scala-2.11/scala-native-benchmarks-out
1 change: 1 addition & 0 deletions confs/scala-native-0.4.1-SNAPSHOT-2.12/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version = 1.4.7
9 changes: 9 additions & 0 deletions confs/scala-native-0.4.1-SNAPSHOT-2.12/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name := "scala-native-benchmarks"
scalaVersion := "2.12.13"
enablePlugins(ScalaNativePlugin)
import scala.scalanative.build
nativeConfig ~= {
_.withGC(build.GC.immix)
.withMode(build.Mode.releaseFull)
.withLTO(build.LTO.thin)
}
1 change: 1 addition & 0 deletions confs/scala-native-0.4.1-SNAPSHOT-2.12/compile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nativeLink
1 change: 1 addition & 0 deletions confs/scala-native-0.4.1-SNAPSHOT-2.12/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.1-SNAPSHOT")
1 change: 1 addition & 0 deletions confs/scala-native-0.4.1-SNAPSHOT-2.12/run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/scala-2.12/scala-native-benchmarks-out
195 changes: 0 additions & 195 deletions scripts/.ipynb_checkpoints/notebook-checkpoint.ipynb

This file was deleted.

15 changes: 15 additions & 0 deletions scripts/interactive.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python

# import for interactive mode
# noinspection PyUnresolvedReferences
from shared.benchmarks import *
# noinspection PyUnresolvedReferences
from shared.configurations import *
# noinspection PyUnresolvedReferences
from shared.comparison import *
# noinspection PyUnresolvedReferences
from shared.cmdline import stable,latest

if __name__ == '__main__':
from IPython import embed
embed()
Loading