Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Comparison Against the Fastest #14

Open
burner opened this issue Jun 9, 2016 · 5 comments
Open

Performance Comparison Against the Fastest #14

burner opened this issue Jun 9, 2016 · 5 comments

Comments

@burner
Copy link

burner commented Jun 9, 2016

I really like the graphs that your benchmark create.
The next step is to compare the performance against what is out there.
It might also be a good idea to compare against strlen to see if you get memory bound, which would be very good.

@lodo1995
Copy link
Owner

Looks like we are not memory bound...
Also, the Cursor is that slow compared to the parser because the benchmark code asks it to parse the attributes of every element.

plot 1

@rjmcguire
Copy link

On Fri, Jun 10, 2016 at 9:58 AM, Lodovico Giaretta <[email protected]

wrote:

Looks like we are not memory bound...
Also, the Cursor is that slow compared to the parser because the
benchmark code asks it to parse the attributes of every element.

[image: plot 1]
https://cloud.githubusercontent.com/assets/13088092/15957758/7f0ca828-2ef1-11e6-8ea0-96cb1d1b1c16.png


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABU8Ca_5SfacOqmz7eJaABKuJZ8_lnuaks5qKRkogaJpZM4IyFhw
.

Nice!
How are you making that chart? Would like to put this in my benchmark code.

@lodo1995
Copy link
Owner

@rjmcguire My benchmark driver (source/random_benchmark/random_benchmark.d) has an option to output statistical data (min, avg, max, ...) in csv format. Then another program (source/random_benchmark/csvplot.d) takes the csv file and a lot of options (very specific to my benchmark) and outputs a script (containing both code and data) that can be used to feed gnuplot 5.0 and produce an svg graph.

@rjmcguire
Copy link

On Fri, Jun 10, 2016 at 10:12 AM, Lodovico Giaretta <
[email protected]> wrote:

@rjmcguire https://github.com/rjmcguire My benchmark driver (
source/random_benchmark/random_benchmark.d) has an option to output
statistical data (min, avg, max, ...) in csv format. Then another program (
source/random_benchmark/csvplot.d) takes the csv file and a lot of
options (very specific to my benchmark) and outputs a script (containing
both code and data) that can be used to feed gnuplot 5.0 and produce an svg
graph.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABU8CRj2yj_tefCh_LZ8V6RKH8Ds7JYBks5qKRyKgaJpZM4IyFhw
.

Thanks. Was hoping you had some thing like:
benchmark!func(50000, "func.png");

@wilzbach
Copy link

This issue was moved to dlang-community/experimental.xml#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants