Comments (2)
👋
Sorry, I must have somehow missed this issue 😞
Sounds like a good idea. I'd like to just specify a "special" input that includes information about the size or a way to get the size. Specifying the size, seems to be hard because any kind of input data structure is a valid input for benchmarking inputs - who am I to judge?
The best think that I could come up with right now is an "input quantifier" function (name pending) that receives the inputs and spits out a number that would be used to compare and graph it. Like in your example it'd be like input_quantifier: fn file_name -> count_lines(file) end
or something.
That's a big addition though - not just for graphing but we could even try to make a guess if a function is linear or not given 3 or more input data points. This is probably harder than I imagine right now though 😁
Definitely past 1.0 (which should land soon) - I'll keep it in mid though.
Thanks for the excellent idea 🎉
from benchee_html.
This seems like something that could work with the proper support for using property testing generators with Benchee. For any input that has a size we could generate inputs of increasing size and use that size to graph against the result of the benchmark.
from benchee_html.
Related Issues (20)
- Open Browser after HTML is generated
- Option to give same scale to graphs HOT 2
- Option to inline all assets HOT 4
- Make Poison an optional module HOT 1
- Write to a default folder/file if none is specified HOT 4
- Show System data HOT 3
- Make auto opening report in browser configurable HOT 2
- Deal with big sample sizes and the slow down they produce in the page HOT 1
- (with Poison 2.2) ** (Poison.EncodeError) expected string or atom key, got: 50 HOT 2
- Provide overview page when rendering with multiple inputs HOT 1
- Customize the HTML template HOT 2
- Memory usage statistics don't appear in the HTML template HOT 4
- Names can get cut off in graphs
- Create a graph that shows run time and memory consumption
- Compare Inputs in Results HTML
- Record benchee version and benchee_html version in the report HOT 2
- Set custom y0 for raw run time charts HOT 1
- Hide "save and edit in cloud" hover link
- Use the unit auto scaling from benchee
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benchee_html.