[Issue 9581] Regression (2.053): Exception takes too much time to show up

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 23 19:40:33 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9581


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #4 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-02-23 19:40:28 PST ---
If what you're testing is the amount of time that it takes an exception to be
thrown and caught, then you shouldn't be doing anything like call system, since
then that's testing what system's up to. And even worse, you're starting a
different program, meaning that you're testing the amount of time it takes to
run the program (including the startup time for druntime). Please test only one
thing at a time.

If system's too slow, then create a test just for that and a bug report for it.
If exceptions are too slow, then cerate a test just for that and bug report for
it. If druntime takes too long to startup, then create a test just for that and
create a bug report for it. You're testing too many things at once here.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list