Coder Social home page Coder Social logo

fmt_bnchmrk_gnrtr's People

Contributors

alexezeder avatar

Stargazers

 avatar  avatar

Watchers

 avatar

fmt_bnchmrk_gnrtr's Issues

Use better website solution

The basic website generation scheme is simple:

[runner results] -> [sqlite] -> [website generator] -> [static pages]

But currently website generator is a Python script that uses Jinja to bake specified pages. That's bad for few reasons:

  • results are not adjustable by users on website since they are baked in pages by some rules at pages creation time,
  • only limited some commits are displayed on website, no history other that in SQLite database (which is unavailable),
  • because there is no history, there is also no way to create permalinks,
  • UI would be way better with an adjustable commits range, selectable benchmarks and other reactive stuff.

That's why I think the best solution is to use some JS reactive framework, here are some key points:

  • probably Vue.js with routing for permalinks,
  • same website design without any Pages menu, only the main chart element with some settings below,
  • still Chart.js for charts, using this for Vue.js,
  • data should be provided to the static website by either dumping SQLite database to JSON or using sql.js to make request to SQLite right in a browser,
  • data for previous runs should be also available for permalinks.

But that's huge...

Network errors are unforgiving

Sometimes internet connection or name resolution can fail, this can probably be mitigated by trying to connect not once but N times.

Commits order is wrong

For example, commits with the same datetime from 85b38190d144a936d86b7ac1c4361d3efc9844ac to 7a604cdd98eff2883b9dbd7d1ca1ddd8c147b80e are not in order for sure. Link (it's not permanent).

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.