[Issue 9584] Exceptions in D are ludicrously slow (far worse than Java)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 24 16:35:04 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9584
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2013-02-24 16:35:02 PST ---
> So, I think that it's clear that we need to take steps to improve the
> performance of throwing and catching exceptions.
I agree.
My timings on Windows 32 bit:
D (latest DMD, -O -release -inline -noboundscheck):
1542590
154 ms and 259 us
69839
6 ms, 983 us, and 9 hnsecs
69741
6 ms, 974 us, and 1 hnsec
70468
7 ms, 46 us, and 8 hnsecs
70793
7 ms, 79 us, and 3 hnsecs
70539
7 ms, 53 us, and 9 hnsecs
69626
6 ms, 962 us, and 6 hnsecs
Java (version 1.7.0_13), same system:
260
0ms 26us 0hnsecs
243
0ms 24us 3hnsecs
241
0ms 24us 1hnsecs
241
0ms 24us 1hnsecs
235
0ms 23us 5hnsecs
231
0ms 23us 1hnsecs
250
0ms 25us 0hnsecs
--
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