Coder Social home page Coder Social logo

benchmark's People

Contributors

dependabot[bot] avatar matthieu-vergne avatar

Watchers

 avatar  avatar  avatar

benchmark's Issues

CSV recovery too long

For CsvStoring, the full file content is stored in memory and processed in order to look how many lines have already been written (when starting the benchmark). It would be surely far better to read and count on the fly, without storing anything, especially for big files, which take a lot of time to proceed.

Complete revision

Now that this lib has been used in some contexts, a complete revision should be made to simplify its use. In particular, several perspectives should be considered:

  1. task creation: inputs, outputs, code
  2. task linking: relate output to input(s)
  3. internal use (code): get inputs, set outputs
  4. external use (link): get output, set input(s), transfer upon output setting or task termination
  5. task composition (ultimately, a benchmark is a composed task)
  6. task running

The point is to have an architecture which allows to be concise in each perspective, access only the relevant methods depending on the perspective, exploit generics to retrieve types easily, etc.

The use of factories and builders is a must, and progress monitoring is recomended.

Execution time in AbstractSimpleTask

As we have the possibility to define a RESET input, it would be nice to set an EXECUTION_TIME output which considers the full time of the execute() method.

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.