Benchmark #529

Closed
wants to merge 19 commits into
from

Projects

None yet

6 participants

@andralex
Member
andralex commented Apr 8, 2012

This is a formal proposal for a benchmark framework. The priorities were simplicity, ease of use, and precision. Hopefully this can be given a bit of priority in the review queue because it's best going forward that many major additions and changes to the standard library come with benchmarks in addition to unittests.

Generated documentation can be found at http://erdani.com/d/web/phobos-prerelease/std_benchmark.html.

@mrmonday

Shouldn't this be using \r\n on windows?

@DmitryOlshansky

Given the context should it be put(s, 'x') ?

@DmitryOlshansky

Should it be std.file.write("some_tmp_file_name", "hello, world!"); ?

@MartinNowak
Member
  • please add std.benchmark to win32.mak
  • the std.array changes should be merged separately
  • likewise the %m for std.format
  • StopWatch should get a deprecated alias in std.datetime
  • will this break code that used the old std.datetime.benchmark?
@andralex
Member
andralex commented Jul 9, 2012

will get to this again soon(ish)

@andralex
Member

Coming with a whole new pull request.

@andralex andralex closed this Sep 16, 2012
@wilzbach
Member

Coming with a whole new pull request.

Did I miss something or did this never happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment