Giter VIP home page Giter VIP logo

scalameter-examples's Introduction

CI service Status Description
Travis Build Status Linux container tests
scalameter-examples Build Status ScalaMeter benchmark example projects
Maven Maven Artifact ScalaMeter artifact on Maven

ScalaMeter

Microbenchmarking and performance regression testing framework for the JVM platform. ScalaMeter can automatically measure and collect various metrics of your program, and then produce nice reports, or store your data. For example, it measures:

  • memory footprint
  • running time
  • GC cycles
  • invocations of specific methods
  • boxing of primitive values

Learn more at the official ScalaMeter website: scalameter.github.io

scalameter-examples's People

Contributors

axel22 avatar bertrandkang avatar kjanosz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scalameter-examples's Issues

reports.resultDir configuration from code does not work as depicted

I have been trying to set up a test which writes test result reports to multiple directories, following the example mentioned in the below file

I end up getting only the last test report written into target/benchmarks/report, not the directories specified in code

Following scalameter/scalameter#189, scalameter/scalameter#195
and finally scalameter/scalameter@0c54382#diff-89ba343b74c4e69e1de52032524e5313666081e7813e756a254cabc697ac7e15

led me to believe that either

  • The docs that mention resultDir can be changed from within code were valid at one point of time and the particular commit overwrote intended functionality and nobody caught the bug
  • The docs mentioning that resultDir is a global test parameter is right and the examples are outdated, and the particular PR to resolve the issue addresses only the regression data persistor but not the HtmlReport generator

My questions now would be:

  • Is it possible to support resultDir configuration in code and not through command line?
    (so I can generate reports in multiple directories with a single command line invocation)
    -- P.S. I am willing to work on a PR if it's currently unsupported but there are no objections to support resultDir configuration in code

  • In case we do not want to support resultDir configuration by code, should we update the examples to point out that the setup specified in the above file is no longer supported?

Update basic-with-separate-config for sbt 1.x

RE: scalameter-examples/basic-with-separate-config/build.sbt

  • does it work with sbt 1.x?

Other questions:

  • what about a plugin instead?
  • seems like IntelliJ can't identify the src packages in an sbt multi-project
    • can the bench code live in ./src/bench/?

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.