Vote UpVote

Simple benchmarking framework, or how to enumerate published methods in Delphi

The Programming Works – The article describes an old trick of enumerating and invoking published methods of a class. The trick is used in DUnit testing framework, and I came to the same idea while trying to bring some order into my benchmark routines. So the idea was to declare benchmark routines as published methods of a class type TDemoRunner = class(TRunner) published procedure Proc1; procedure Proc2; end; and get these published methods automatically invoked by the framework. I don’t want to dig into details of the solution because it supposed to be the solution that “just works” ...
Favorite? Off-Topic? Serg @ 2014-03-25 06:38


Visits: 18
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)