Git Product home page Git Product logo

euler_bench's People

Contributors

chromatic avatar colomon avatar jlavallee avatar kscaldef avatar lannyripple avatar lastofthecarelessmen avatar leto avatar notbenh avatar rbuels avatar trenton 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

euler_bench's Issues

change the config from aliasing interp -> 'language'

currently we are treating each interp as the language, what the config really should be doing is listing all known interps and then each interp should point to an array of 'languages' (I cant really think of why I have this feeling that it should be an array but its future proof that way I guess).

bench does not pick up languages that are not in the config.

because the config does not have haskell listed, haskell does not get picked up as a proper language thus it's tossed in to the opts bucket and then all known languages are run.

we should first check the config languages, then the solution languages, leftovers then should go to opt.

problem 000

we should have a problem 000 that is the most basic thing that you can hand to the interpreter in the hope to get a vague number of what the 'startup' time is.

Then once we have that we should lop that off the top of the results of the runs for the actual solutions, or at least make it an option.

Silent failures if implementations are not found

compare_problem_number and compare_implementations fail to notice if a language implementation is not found. Instead it just looks like that language runs really fast. E.g,

Benchmarking EP#002 with 100 iterations
            (warning: too few iterations for a reliable count)
                  Rate perl5/002/01.pl perl6/002/01.pl
perl5/002/01.pl 49.3/s              --            -79%
perl6/002/01.pl  233/s            372%              --

standardize a configuration structure.

Currently we are using ENV to store the locations of all interpreters for solutions. It has been suggested that moving forward a config file would be a more flexible solution.

standardize the CLI interface

We currently like the cmp method of specifying both lang and problems to mix and match your results, but it could use some work.

Persistent interpreters

Chromatic said that a persistent parrot interpreter is possible.

Or we could just subtract a measured interpreter startup time.

Create a way to install dependancies.

We can safely assume we have perl5 (though checking versions might not be a bad idea). Will need to also install some CPAN modules.

Ask if the user wants to install Rakudo(parrot), ruby(?), and any other language that have solutions for.

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.