www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10902] New: some phobos unittests take an excessive amount of time

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10902

           Summary: some phobos unittests take an excessive amount of time
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: code dawg.eu



Just listing tests that run longer than 500ms on an extremely fast machine.

Testing std.exception: OK (took 746ms)
Testing std.uri: OK (took 529ms)
Testing std.uni: OK (took 1235ms)
Testing std.xml: OK (took 1226ms)
Testing std.process: OK (took 2885ms)
Testing std.uuid: OK (took 2235ms)
Testing std.utf: OK (took 3191ms)
Testing std.regex: OK (took 4058ms)
Testing std.conv: OK (took 8541ms)
Testing std.parallelism: OK (took 8444ms)
Testing std.file: OK (took 16418ms)
Testing std.datetime: OK (took 49056ms)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 26 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10902


hsteoh quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh quickfur.ath.cx



On my machine (AMD Phenom II X6 1055T), the longest-running tests are:

Testing std.conv: OK (took 5789ms)
Testing std.datetime: OK (took 26923ms)
Testing std.exception: OK (took 502ms)
Testing std.file: OK (took 16078ms)
Testing std.parallelism: OK (took 8988ms)
Testing std.process: OK (took 2423ms)
Testing std.regex: OK (took 2458ms)
Testing std.uni: OK (took 589ms)
Testing std.utf: OK (took 2003ms)
Testing std.uuid: OK (took 1504ms)

std.datetime totally takes the cake when it comes to tests, I'm guessing just
because of the sheer number of tests?

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