Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
59f0883
latest snapshot
valdisxp1 Sep 14, 2018
497300d
using latest snapshot and latest stable version
valdisxp1 Sep 21, 2018
f9f49c4
enable running just a part of the benchmarks
valdisxp1 Sep 21, 2018
cfcf3d4
dependency install script
valdisxp1 Sep 22, 2018
875c64e
attempt at a barchart
valdisxp1 Sep 22, 2018
dda3461
save charts to reports
valdisxp1 Sep 23, 2018
ba7af04
include jvm as well
valdisxp1 Sep 23, 2018
a1962d9
do not remove 1% outliers when doing percentiles anyway
valdisxp1 Sep 23, 2018
055d434
all the charts inside markdown
valdisxp1 Sep 23, 2018
448977d
links, using seconds, correct yaxis
valdisxp1 Sep 23, 2018
1cd997b
decimal places and replative difference
valdisxp1 Sep 23, 2018
c742239
make it bold when there is an improvement
valdisxp1 Sep 23, 2018
67e8199
relative bar chart
valdisxp1 Sep 23, 2018
14451c9
good bar charts for summary
valdisxp1 Sep 23, 2018
836b66f
fixed aligment
valdisxp1 Sep 23, 2018
5e01cce
proper argument parsing
valdisxp1 Sep 23, 2018
74b24e9
prints resulting report path
valdisxp1 Sep 23, 2018
168e357
allow "latest" and "stable" as dynamic suffixes
valdisxp1 Sep 23, 2018
9596ba3
formatting
valdisxp1 Sep 23, 2018
bd59e88
can change the default comment on the suffix
valdisxp1 Sep 23, 2018
fd96b79
include example runs
valdisxp1 Sep 23, 2018
e3df4b6
fix links
valdisxp1 Sep 23, 2018
bde818f
explain usage
valdisxp1 Sep 23, 2018
43216a9
handle empty suffixes
valdisxp1 Sep 25, 2018
33b32e8
support 2 new lto variants: full and thin
valdisxp1 Sep 25, 2018
15e2b52
fixed typo in the config names
valdisxp1 Sep 27, 2018
dbeaadd
extra arguments
valdisxp1 Sep 30, 2018
81b28ee
handling failures
valdisxp1 Sep 30, 2018
aef6e1e
added missing string conversions
valdisxp1 Sep 30, 2018
fa281a0
added parrallel execution
valdisxp1 Sep 30, 2018
7e18ca5
display the failed statistics for par as well
valdisxp1 Sep 30, 2018
08828b1
removed unused import
valdisxp1 Sep 30, 2018
e1c3464
scan for all successful runs
valdisxp1 Sep 30, 2018
5af8f25
also collect stderr
valdisxp1 Sep 30, 2018
eb30c1e
readme
valdisxp1 Oct 2, 2018
6e7bf4a
handle missing data
valdisxp1 Oct 3, 2018
bf6afb1
just add the environment for GC logging to all
valdisxp1 Oct 4, 2018
c9ebac5
read gc data
valdisxp1 Oct 5, 2018
ecb3a3e
all is actually measured in ms not s
valdisxp1 Oct 5, 2018
4a7ff6c
fixed some bugs
valdisxp1 Oct 5, 2018
d045567
removed unused imports
valdisxp1 Oct 5, 2018
4d599b3
some gc plot
valdisxp1 Oct 5, 2018
dd98046
fixed
valdisxp1 Oct 5, 2018
635dc05
gc_pause chart
valdisxp1 Oct 5, 2018
6ce9012
fixed bad offset
valdisxp1 Oct 5, 2018
4eefb29
option to disable gc charts
valdisxp1 Oct 5, 2018
0739785
made the gc examples less cluttered and fixed the relative gc charts
valdisxp1 Oct 6, 2018
8e2189d
absolute gc bar charts as well
valdisxp1 Oct 6, 2018
5c9db36
handle gc-less benchmarks
valdisxp1 Oct 12, 2018
05d9cc5
geometrical mean
valdisxp1 Oct 12, 2018
fd22f2b
by default:
valdisxp1 Oct 12, 2018
766d31a
fixed geometrical mean
valdisxp1 Oct 12, 2018
935a69f
make thin-lto default
valdisxp1 Oct 16, 2018
1500000
scala-native project building
valdisxp1 Oct 16, 2018
c325f4a
build scala native when specify @ref
valdisxp1 Oct 16, 2018
9fb6514
make a ".complete" file when it is done
valdisxp1 Oct 16, 2018
c54b813
default
valdisxp1 Oct 16, 2018
c783d62
handle us and ns GC data
valdisxp1 Oct 17, 2018
f20db41
header includes the newline
valdisxp1 Oct 18, 2018
6393817
remove gc vs time plot
valdisxp1 Oct 19, 2018
151f901
analise the header to handle possible format changes and legacy data
valdisxp1 Oct 19, 2018
b3ae6d6
it is `git fetch -all`, not `git --fetch --all`
valdisxp1 Oct 21, 2018
e6a44a7
--new : do not ovewrite previous results
valdisxp1 Oct 24, 2018
4ca4746
better default setting
valdisxp1 Oct 24, 2018
3917386
handling branch@remote, resolving refs, doing only 1 fetch
valdisxp1 Oct 24, 2018
f2aacb8
Merge remote-tracking branch 'origin/compare-3.8.5-with-master' into …
valdisxp1 Oct 24, 2018
f2b7135
use short sha1
valdisxp1 Oct 24, 2018
2a23844
ability to choose induvidual benchmarks
valdisxp1 Oct 24, 2018
1bf4856
usable normally
valdisxp1 Oct 24, 2018
dda1488
fix: results not in root_dir
valdisxp1 Oct 25, 2018
2175c0f
@HEAD option to avoid checkout
valdisxp1 Oct 25, 2018
b9bb31b
update to handle changes in scala-native/scala-native#1364
valdisxp1 Oct 25, 2018
0019129
selecting the size
valdisxp1 Oct 27, 2018
4a6c4ce
allow comparing with sized
valdisxp1 Oct 27, 2018
168c734
allow comparing with sized
valdisxp1 Oct 27, 2018
effbc55
log skipped and failed compilation at the end
valdisxp1 Oct 27, 2018
18c4d08
create symlinks for more general names
valdisxp1 Oct 27, 2018
20ddae8
set JVM heap sizes
valdisxp1 Oct 27, 2018
340cd38
it should fetch
valdisxp1 Oct 27, 2018
e42afda
handle low --runs
valdisxp1 Oct 28, 2018
4233b25
skip benchmarks that were not run
valdisxp1 Oct 28, 2018
5b514ff
run time vs heap size
valdisxp1 Oct 28, 2018
382eb75
allow selecting benchmarks to compare
valdisxp1 Oct 28, 2018
c2c4d0d
discover all existing benchmarks
valdisxp1 Oct 28, 2018
939e1a1
do compile
valdisxp1 Oct 28, 2018
88a18f6
gc pause time charts
valdisxp1 Oct 28, 2018
eeb7bc4
combined size chart for gc
valdisxp1 Oct 28, 2018
f6e4cd5
geometrical means for gc
valdisxp1 Oct 28, 2018
b3b7194
option to enable charts that are based on heapsize
valdisxp1 Oct 28, 2018
d378776
sort by size when plotting
valdisxp1 Oct 30, 2018
0c2e242
make root dir
valdisxp1 Oct 30, 2018
970d84a
Merge branch 'compare-3.8.5-with-master' of github.com:valdisxp1/scal…
valdisxp1 Oct 30, 2018
9bb3449
refactored bar_chart
valdisxp1 Nov 3, 2018
bf1a45f
total and pause time charts
valdisxp1 Nov 3, 2018
e29635b
more size charts
valdisxp1 Nov 3, 2018
c271137
ignore empty bars
valdisxp1 Nov 3, 2018
52dbcf5
fix chart titles
valdisxp1 Nov 3, 2018
1c89529
parse gc events
valdisxp1 Nov 3, 2018
413dc23
use array.append for better performance
valdisxp1 Nov 5, 2018
05f2ec7
rename to JAVA_ARGS
valdisxp1 Nov 8, 2018
149f405
log java GC pause times with "--gc"
valdisxp1 Nov 8, 2018
5fcf02f
trace and debug options for the gc
valdisxp1 Nov 15, 2018
33a3849
gave figures x2 resolution in each direction
valdisxp1 Nov 21, 2018
9982a53
do not fetch on @HEAD
valdisxp1 Nov 23, 2018
87a6b55
gc threads setting
valdisxp1 Nov 23, 2018
cffa542
gc threads setting: better naming
valdisxp1 Nov 23, 2018
5ee578d
embedded uploading via git or just copy
valdisxp1 Nov 23, 2018
c37e1f5
calculate total time
valdisxp1 Nov 23, 2018
4d1754c
fix subconfig detection
valdisxp1 Nov 26, 2018
895af48
fix example charts with runs < 4
valdisxp1 Nov 28, 2018
7b4bb4b
Merge branch 'compare-3.8.5-with-master' of github.com:valdisxp1/scal…
valdisxp1 Nov 28, 2018
0ae9864
gc pause should be only from non-concurrent times
valdisxp1 Nov 28, 2018
0c2227f
parse the different events
valdisxp1 Dec 15, 2018
7c4a3f6
read all relevant files
valdisxp1 Dec 15, 2018
6236a0e
start plotting
valdisxp1 Dec 15, 2018
8cd81fb
limit the collections events as well
valdisxp1 Dec 15, 2018
d634813
both batches and phases
valdisxp1 Dec 15, 2018
db6b521
only the last GC
valdisxp1 Dec 15, 2018
b0483d0
looking nicer
valdisxp1 Dec 15, 2018
ed46eb4
handle multiple configurations
valdisxp1 Dec 15, 2018
4f6a89c
cleanup
valdisxp1 Dec 15, 2018
ab777a4
stretch gantt horizontally
valdisxp1 Dec 15, 2018
cdbf845
clear the figures
valdisxp1 Dec 16, 2018
84d4cd8
exclude list benchmark from summary
valdisxp1 Dec 24, 2018
8b5668f
option for commix gc
valdisxp1 Dec 28, 2018
24d31e5
print compile errors when compiling the test
valdisxp1 Jan 2, 2019
dae1ae7
only on errors
valdisxp1 Jan 2, 2019
0344578
improve readability
valdisxp1 Jan 11, 2019
58230f1
scripts for using it as a cronjob
valdisxp1 Jan 11, 2019
a56373d
write logs
valdisxp1 Jan 11, 2019
1931fda
refactor: split compile and directory creation
valdisxp1 Jan 12, 2019
22058d7
empty derived configs
valdisxp1 Jan 12, 2019
17897b6
take extra compile arguments
valdisxp1 Jan 12, 2019
2f88b74
a for arguments
valdisxp1 Jan 12, 2019
5d3e36c
customize benchmark inputs
valdisxp1 Jan 14, 2019
34c345c
histogram benchmark
valdisxp1 Jan 14, 2019
9b7236c
kill all subprocesses
valdisxp1 Jan 14, 2019
93db2d8
use session ids
valdisxp1 Jan 14, 2019
e970410
do not run histogram by default
valdisxp1 Jan 16, 2019
32f5498
do not clip the chart
valdisxp1 Jan 17, 2019
d48a5e9
handle internal events
valdisxp1 Jan 19, 2019
ed55b3f
the cake charts
valdisxp1 Jan 19, 2019
56b636a
move mark_waiting one level lower
valdisxp1 Jan 19, 2019
7c5bded
move mark_waiting one level lower
valdisxp1 Jan 20, 2019
1b0747d
Merge branch 'crontab' into compare-3.8.5-with-master
valdisxp1 Jan 23, 2019
e115156
support different levels of GC stat verbosity
valdisxp1 Jan 23, 2019
3d5bd02
records perf data
valdisxp1 Jan 23, 2019
e8baaed
just warn about bad lines
valdisxp1 Jan 24, 2019
a5d6b3d
fix perf option
valdisxp1 Jan 24, 2019
9a11c95
perf reports make no sense without the binary
valdisxp1 Jan 25, 2019
c656f76
make it executable
valdisxp1 Jan 25, 2019
29fd1a6
lower sample rate due to failures
valdisxp1 Jan 25, 2019
740d7a8
preserve the environment
valdisxp1 Jan 25, 2019
2f4fc48
handle collection events from other threads
valdisxp1 Jan 26, 2019
aeeea2f
zoom in into last 1000 runs
valdisxp1 Jan 28, 2019
52a1137
higher resolution
valdisxp1 Jan 28, 2019
8a0d50c
zoomed in at 80+ percentile
valdisxp1 Jan 28, 2019
1eafdfe
higher precision for smaller range for high percentiles
valdisxp1 Feb 1, 2019
7999616
introduce warmup
valdisxp1 Feb 6, 2019
7842702
do not use xwindows when generating reports
valdisxp1 Feb 6, 2019
147a3bc
deal with numpy handling integer and floating point ranges differently
valdisxp1 Feb 6, 2019
fec83f1
mark and sweep batch charts
valdisxp1 Feb 7, 2019
a093137
they supposed to be np arrays
valdisxp1 Feb 7, 2019
d717bce
zoom in
valdisxp1 Feb 7, 2019
96c52c4
fix gc logging for when not having events
valdisxp1 Feb 11, 2019
3a7f979
Merge remote-tracking branch 'origin/warmup' into compare-3.8.5-with-…
valdisxp1 Feb 12, 2019
9be470d
fix warmup
valdisxp1 Feb 12, 2019
198684d
0.4.0
valdisxp1 Feb 14, 2019
4c45a55
compare runs in each configuration
valdisxp1 Feb 18, 2019
f83b407
too many charts
valdisxp1 Feb 18, 2019
254ccac
Merge branch 'compare-3.8.5-with-master' into compare-0.4.0
valdisxp1 Feb 20, 2019
057c3f5
discard 20% of the worst runs
valdisxp1 Feb 23, 2019
efd21aa
exclude list and manderbrot from running by default
valdisxp1 Feb 24, 2019
798ecf1
handle new heap sizing names
valdisxp1 Feb 28, 2019
7308640
remove outliers from the non-50 percentiles
valdisxp1 Mar 3, 2019
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
bin/.coursier
bin/.scalafmt*
results/
reports/
*.iprof
.idea
.idea
*.pid
jobs.sh
logs/
83 changes: 82 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,89 @@ as-is and summarized in a separate post-processing step.
python scripts/run.py
```

## Viewing result summary
## Creating result summary

```
python scripts/summary.py
```

The reports can be viewed in the `reports` directory.

## Advanced use

### Comparing specific versions

You can run just the configurations you are interested in
```bash
scripts/run.py stable latest
```

Compare the lastest `stable` relesea vs `latest` snapshot
```bash
REPORT=$(scripts/summary.py stable latest)
```

### Specifying number of runs, batches, tests run in parallel
```bash
scripts/run.py --par 4 --runs 50 --batches 3000 stable
# 50 runs (4 in parallel) each with 3000 batches for the stable release.
```

These settings will impact accuracy, this is why the names of the results folders will include the settings, in this case `scala-native-0.3.8-r50-p40-b3000`.
Note that you can also use `stable-r50-p40-b3000` when using the `summary.py`.

### Comparing an experimental feature with latest from master
1. specify a suffix to identify it
```bash
NAME=PR9001-adding-a-kitchen-sink
SHA1=adcd124eee
```
2. run the benchmark and get the summary report

It will automatically compile the project in `../scala-native` if you provide the SHA1 or reference.
```bash
SHA1=adcd124eee
scripts/run.py latest@master
scripts/run.py --suffix "$NAME" latest@"$SHA1" &&
REPORT=$(scripts/summary.py --comment "$NAME" latest latest@"$SHA1"_"$NAME")
```

Alternatively you can build the scala-native project from your branch manually and run
```bash
scripts/run.py --suffix "$NAME" latest &&
REPORT=$(scripts/summary.py --comment "$NAME" latest latest_"$NAME")
```

## Persisting reports
The following commands assume that you have a git repository checked out at `gh-pages` under `../scala-native-benchmark-results`.

Also that there is an executable script `just-upload.sh` in the root of that repository.
```bash
#just-upload.sh


#!/bin/bash
# move to the directory of the script
cd $(dirname "$0")

git add . &&
git commit -m "automated commit" && git push
```

### saving experiment data
```bash
cp -r results/ ../scala-native-benchmark-results &&
../scala-native-benchmark-results/just-upload.sh
```

### restoring experiment data
```bash
cp -r ../scala-native-benchmark-results results/
```

### uploading a report
```bash
mkdir -p ../scala-native-benchmark-results/reports
cp -r "$REPORT" ../scala-native-benchmark-results/reports &&
../scala-native-benchmark-results/just-upload.sh
```
5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeGC := "immix"
nativeMode := "release"
nativeLTO := "thin"
2 changes: 1 addition & 1 deletion confs/jvm/run
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java -Xmx1024M -Xms1024M -classpath target/scala-2.11/classes:$HOME/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.12.jar $BENCH
java $JAVA_ARGS -classpath target/scala-2.11/classes:$HOME/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.12.jar $BENCH
2 changes: 1 addition & 1 deletion confs/native-image-pgo/run
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
target/native-image-pgo-bench -Xmx1g -Xmx1g
target/native-image-pgo-bench $JAVA_SIZE_ARGS

2 changes: 1 addition & 1 deletion confs/native-image/run
Original file line number Diff line number Diff line change
@@ -1 +1 @@
target/native-image-bench -Xmx1g -Xmx1g
target/native-image-bench $JAVA_SIZE_ARGS
1 change: 0 additions & 1 deletion confs/scala-native-0.3.7/plugins.sbt

This file was deleted.

File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions confs/scala-native-0.3.8/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.8")
File renamed without changes.
6 changes: 6 additions & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-commix/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeGC := "commix"
nativeMode := "release"
nativeLTO := "thin"
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-commix/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.3.9-SNAPSHOT-commix/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.9-SNAPSHOT")
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-commix/run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/scala-2.11/scala-native-benchmarks-out
6 changes: 6 additions & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-full-lto/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeGC := "immix"
nativeMode := "release"
nativeLTO := "full"
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-full-lto/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.3.9-SNAPSHOT-full-lto/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.9-SNAPSHOT")
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-full-lto/run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/scala-2.11/scala-native-benchmarks-out
6 changes: 6 additions & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-no-lto/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeGC := "immix"
nativeMode := "release"
nativeLTO := "none"
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-no-lto/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.3.9-SNAPSHOT-no-lto/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.9-SNAPSHOT")
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT-no-lto/run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/scala-2.11/scala-native-benchmarks-out
6 changes: 6 additions & 0 deletions confs/scala-native-0.3.9-SNAPSHOT/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeGC := "immix"
nativeMode := "release"
nativeLTO := "thin"
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT/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.3.9-SNAPSHOT/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.9-SNAPSHOT")
1 change: 1 addition & 0 deletions confs/scala-native-0.3.9-SNAPSHOT/run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/scala-2.11/scala-native-benchmarks-out
6 changes: 6 additions & 0 deletions confs/scala-native-0.4.0-SNAPSHOT-commix/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeGC := "commix"
nativeMode := "release"
nativeLTO := "thin"
1 change: 1 addition & 0 deletions confs/scala-native-0.4.0-SNAPSHOT-commix/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.0-SNAPSHOT-commix/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0-SNAPSHOT")
1 change: 1 addition & 0 deletions confs/scala-native-0.4.0-SNAPSHOT-commix/run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/scala-2.11/scala-native-benchmarks-out
6 changes: 6 additions & 0 deletions confs/scala-native-0.4.0-SNAPSHOT/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scalaVersion := "2.11.12"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeGC := "immix"
nativeMode := "release"
nativeLTO := "thin"
1 change: 1 addition & 0 deletions confs/scala-native-0.4.0-SNAPSHOT/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.0-SNAPSHOT/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0-SNAPSHOT")
1 change: 1 addition & 0 deletions confs/scala-native-0.4.0-SNAPSHOT/run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/scala-2.11/scala-native-benchmarks-out
1 change: 1 addition & 0 deletions input/histogram.Histogram
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
300000,100000
1 change: 1 addition & 0 deletions output/histogram.Histogram
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
true
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.7")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0-SNAPSHOT")
3 changes: 3 additions & 0 deletions scripts/install-dependecies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
sudo pip2 install numpy matplotlib
sudo apt update && sudo apt install python-tk
6 changes: 3 additions & 3 deletions scripts/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"collapsed": false,
"scrolled": true
Expand All @@ -11,7 +11,6 @@
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'matplotlib'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
Expand All @@ -24,7 +23,8 @@
"\u001b[0;32m/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py\u001b[0m in \u001b[0;36menable_matplotlib\u001b[0;34m(self, gui)\u001b[0m\n\u001b[1;32m 2933\u001b[0m \"\"\"\n\u001b[1;32m 2934\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mIPython\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcore\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mpylabtools\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mpt\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 2935\u001b[0;31m \u001b[0mgui\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mbackend\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mpt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mfind_gui_and_backend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mgui\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpylab_gui_select\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2936\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2937\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mgui\u001b[0m \u001b[0;34m!=\u001b[0m \u001b[0;34m'inline'\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;32m/usr/lib/python3/dist-packages/IPython/core/pylabtools.py\u001b[0m in \u001b[0;36mfind_gui_and_backend\u001b[0;34m(gui, gui_select)\u001b[0m\n\u001b[1;32m 257\u001b[0m \"\"\"\n\u001b[1;32m 258\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 259\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mmatplotlib\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 260\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 261\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mgui\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mgui\u001b[0m \u001b[0;34m!=\u001b[0m \u001b[0;34m'auto'\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'matplotlib'"
]
],
"output_type": "error"
}
],
"source": [
Expand Down
Loading