Git Product home page Git Product logo

scala-bench's Introduction

Project has been created with command sbt new scala/scala-seed.g8

Print all accessible flags for jvm: java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version

withFilter vs filter

java 13 benchmarks [info] Benchmark Mode Cnt Score Error Units
[info] Bench.methodStandardFilter thrpt 50 1,921 ´ 0,027 ops/ms
[info] Bench.methodWithFilter thrpt 50 1,770 ´ 0,033 ops/ms
[info] Bench.testWithView thrpt 50 716,945 ´ 7,104 ops/s
[info] Bench.testWithoutView thrpt 50 685,747 ´ 7,205 ops/s
[info] Bench.testWithoutViewWithConversion thrpt 50 535,259 ´ 7,316 ops/s

[info] Benchmark Mode Cnt Score Error Units
[info] MonadicWrappersChecker.testFlatten thrpt 40 2,631 ´ 0,058 ops/ms
[info] MonadicWrappersChecker.testGetOrElse thrpt 40 2,617 ´ 0,076 ops/ms
[info] MonadicWrappersChecker.testIfElse thrpt 40 3,184 ´ 0,050 ops/ms
[info] MonadicWrappersChecker.testPatternMatching thrpt 40 2,947 ´ 0,046 ops/ms

[info] MonadicWrappersChecker.testFlatten thrpt 40 2,686 ´┐Ż 0,033 ops/ms
[info] MonadicWrappersChecker.testGetOrElse thrpt 40 2,682 ´┐Ż 0,061 ops/ms
[info] MonadicWrappersChecker.testIfElse thrpt 40 3,228 ´┐Ż 0,035 ops/ms
[info] MonadicWrappersChecker.testPatternMatching thrpt 40 2,913 ´┐Ż 0,046 ops/ms
[info] MonadicWrappersChecker.testFlatten avgt 40 0,374 ´┐Ż 0,009 ms/op
[info] MonadicWrappersChecker.testGetOrElse avgt 40 0,369 ´┐Ż 0,002 ms/op
[info] MonadicWrappersChecker.testIfElse avgt 40 0,319 ´┐Ż 0,008 ms/op
[info] MonadicWrappersChecker.testPatternMatching avgt 40 0,338 ´┐Ż 0,011 ms/op

[info] StringManipulation.testNumericStringRegex thrpt 40 0,084 ´┐Ż 0,002 ops/ms
[info] StringManipulation.testNumericStringWithIndexRetrieval thrpt 40 0,487 ´┐Ż 0,008 ops/ms
[info] StringManipulation.testSplitString thrpt 40 0,141 ´┐Ż 0,001 ops/ms

[info] MonadicWrappersChecker.testFold avgt 40 0,396 ´┐Ż 0,011 ms/op
[info] MonadicWrappersChecker.testGetOrElse avgt 40 0,390 ´┐Ż 0,015 ms/op
[info] MonadicWrappersChecker.testIfElse avgt 40 0,319 ´┐Ż 0,009 ms/op
[info] MonadicWrappersChecker.testPatternMatching avgt 40 0,342 ´┐Ż 0,002 ms/op

scala-bench's People

Contributors

justsimonp avatar

Stargazers

 avatar

Watchers

 avatar

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.