Skip to content

wilzbach/perf-d

Repository files navigation

Testing the performance of operations in D.

Build Status

Do we really have zero-cost abstraction? Let's test!

Build & run

make test_looping

If you only want to run a benchmark for one compiler:

make test_looping.ldc

Or any of the tests available:

Current tests

  • test_looping - simple iteration test between manual loop and range API
  • test_save - tests performance when returning a range (common for search algorithms)
  • test_extremum - different specializations of std.algorithm.searching.extremum
  • test_pow - floating-point power calculation
  • test_powi - integer power calculation

Running all tests

make all

About

Testing the performance of D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published