Giter Site home page Giter Site logo

bench's People

Contributors

allanrenucci avatar liufengyun avatar milessabin avatar nicolasstucki avatar smarter avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bench's Issues

move repo to lampepfl

Move repo to lampepfl. This is not a priority, but it's something good to do.

  • merge bench-web to bench
  • migrate bench-data
  • update machine bin/config
  • update git repo:
    • data
    • site
  • update travis

Improvements

Copied from scala/scala3#2884

Suggestions:

  • measure in milliseconds;

  • graph multiple lines:

    • average
    • median [50% percentile]
    • 5% percentile
    • 95% percentile
    • 99% percentile
    • trendline for all listed above
  • store raw data for runs, so that we don't need to rerun benchmarks.

  • add a test that is supposed to always be flat, will be used as indicator of stability of machine.

  • make the Y axis start from 0

  • One more suggestion: could you align the x axis across multiple benchmarks? so that one vertical always relates to the same PR on all benchmarks.

More todos

  • add all tests in the tests folder and one normal exhaustivity checks
  • fix test for the dotty project

retrospectively test stdlib

The script to do the job:

set -e

cp bin/stdlib-plan bin/plan
bin/run -f 1850  -t 1889

cp bin/stdlib-plan bin/plan
bin/run -f 1889  -t 1910

cp bin/stdlib-plan bin/plan
bin/run -f 2312 -t 2353

cp bin/stdlib-plan bin/plan
bin/run -f 2353 -t 2384

cp bin/stdlib-plan bin/plan
bin/run -f 2384 -t 2389

cp bin/stdlib-plan bin/plan
bin/run -f 2509 -t 2538

cp bin/stdlib-plan bin/plan
bin/run -f 2547 -t 2523

cp bin/stdlib-plan bin/plan
bin/run -f 2523 -t 2587

cp bin/stdlib-plan bin/plan
bin/run -f 2587 -t 2606

cp bin/stdlib-plan bin/plan
bin/run -f 2606 -t 2619

cp bin/stdlib-plan bin/plan
bin/run -f 2619 -t 2643

cp bin/stdlib-plan bin/plan
bin/run -f 2674 -t 2694

cp bin/stdlib-plan bin/plan
bin/run -f 2694 -t 2719

The script bin/stdlib-plan:

measure "tests/scala-library" -language:Scala2 $(find tests/scala-library -name *.scala)

Unable to find the resource: /META-INF/BenchmarkList

On some new machines, we encounter the exception:

fliu@lamppc34:/localhome/fliu/bench$ target/pack/bin/bench tests/implicit_cache.scala
Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find the resource: /META-INF/BenchmarkList
	at org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:98)
	at org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:122)
	at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:256)
	at org.openjdk.jmh.runner.Runner.run(Runner.java:206)
	at dotty.tools.benchmarks.Bench$.main(Benchmarks.scala:37)
	at dotty.tools.benchmarks.Bench.main(Benchmarks.scala)

weird exceptions on server

The tests crash from time to time due to following exception:

Could not create file /data/workspace/bench/dotty/sbt-bridge/target/streams/$global/projectDescriptors/$global/streams/outjava.io.IOException: No such file or directory

Simply restart the testing solves the problem.

bench is down

bench is down -- no exception notification issued.

The cause is that the master fails to compile the scalapb project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.