in reply to (tye)Re: Working with Standard Modules...
in thread Working with Standard Modules...

But I'd prefer to not have two separate places where the basic timing code is actively maintained

Exactly! Thats why I wanted to use the timing code from Benchmark in the first place.

Incidentally I think one problem with actually deprecating Benchmark is that there is a fundamental difference in psychology to using a module and using an object. In a module you expect to get everything you need. In an object you expect to only get what makes sense.

Consider in Benchmark you have code from 4 different groups of functionality:

So how to rework this? My current plan is bascially this:
Benchmark::TestBench -- Timing routines Benchmark::Testbench::Std -- The high level report Benchmark::Result -- A time object Benchmark::Testbench::Test -- new, used by ::Series Benchmark::Testbench::Series -- New, replaces ::Std
Right now the question is whether timethis,timethese and cmpthese should go into the same class that has the actually timing routines. I say no, because they have more to do with handling user input and formatting and printing results than anything else.

Anyway, i should have been in bed long ago so...

Till next time. :-)

Yves
--
You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)