Re: std.experimental.randomized_unittest_benchmark is ready for comments

2016-07-09 Thread Seb via Digitalmars-d
On Sunday, 19 June 2016 at 16:15:15 UTC, Robert burner Schadek wrote: Thank you Seb for taking over the review management. Some additional feature for the proposed module is. * Simple way to create test data for user defined types * Benchmark data is stored into csv file for comparing the

Re: std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-29 Thread Jack Stouffer via Digitalmars-d
On Sunday, 19 June 2016 at 19:03:55 UTC, Robert burner Schadek wrote: On Sunday, 19 June 2016 at 18:51:09 UTC, Jack Stouffer wrote: I would like to try this out on my date parsing library, but I don't see a way to generate strings of a specific format. take a look at

Re: std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-19 Thread Robert burner Schadek via Digitalmars-d
On Sunday, 19 June 2016 at 18:51:09 UTC, Jack Stouffer wrote: I would like to try this out on my date parsing library, but I don't see a way to generate strings of a specific format. take a look at https://github.com/dlang/phobos/pull/2995/files#diff-1a5f159e09980950bb9931ac674cbf40R358

Re: std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-19 Thread Jack Stouffer via Digitalmars-d
On Sunday, 19 June 2016 at 16:15:15 UTC, Robert burner Schadek wrote: ... I would like to try this out on my date parsing library, but I don't see a way to generate strings of a specific format. I'm think you have two options, either pass a std.format format string and generate random

Re: std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-19 Thread Robert burner Schadek via Digitalmars-d
Thank you Seb for taking over the review management. Some additional feature for the proposed module is. * Simple way to create test data for user defined types * Benchmark data is stored into csv file for comparing the benchmark results between runs * Standalone tool to create gnuplot graphs

std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-19 Thread Seb via Digitalmars-d
Optimizing for performance is one of the major challenges for Phobos and user libraries in the next month and years. As an example of the benefits, have a look at the recent blog post about find [1]. Robert burner Schadek has proposed std.experimental.randomized_unittest_benchmark over a