Thread overview
[Bug 75] 4x performance regression of to!(char[]) from gcd 4.6 to 4.8
Aug 21, 2013
Paul Jurczak
Aug 21, 2013
Iain Buclaw
Aug 21, 2013
Paul Jurczak
Aug 21, 2013
Paul Jurczak
Aug 21, 2013
Paul Jurczak
Aug 21, 2013
Paul Jurczak
Jan 12, 2014
Johannes Pfau
August 21, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=75

--- Comment #1 from Paul Jurczak <pauljurczak@yahoo.com> 2013-08-21 10:05:59 UTC ---
This has probably little to do with GDC itself, but is related to changes in std.conv module. I could measure it only with gdc, hence I reported it here.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
August 21, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=75

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> 2013-08-21 12:49:58 UTC ---
(In reply to comment #1)
> This has probably little to do with GDC itself, but is related to changes in std.conv module. I could measure it only with gdc, hence I reported it here.

Thanks for your bug report, there are some performance improvements to to!conv in the pipeline for 2.064, would be interesting to get test results then.

Also, can you compile the code with -fdump-tree-original for both 4.6 and 4.8 and attach the produced dumps to this report?

As well as changes to library code, should also show if there's any changes to compiler code generation that may affect performance.

Thanks
Iain.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
August 21, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=75

--- Comment #3 from Paul Jurczak <pauljurczak@yahoo.com> 2013-08-21 13:11:41 UTC ---
Created attachment 51
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=51
-fdump-tree-original for gdc 4.6

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
August 21, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=75

--- Comment #4 from Paul Jurczak <pauljurczak@yahoo.com> 2013-08-21 13:12:26 UTC ---
Created attachment 52
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=52
-fdump-tree-original for gcc 4.8

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
August 21, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=75

Paul Jurczak <pauljurczak@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Attachment #52|-fdump-tree-original for    |-fdump-tree-original for
        description|gcc 4.8                     |gdc 4.8

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
August 21, 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=75

--- Comment #5 from Paul Jurczak <pauljurczak@yahoo.com> 2013-08-21 13:20:07 UTC ---
I added the files you requested, but they are syntactically different: assembly vs. D. I will be glad to run the new gdc version when available.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
January 12, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=75

Johannes Pfau <johannespfau@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |johannespfau@gmail.com
         Resolution|                            |INVALID

--- Comment #7 from Johannes Pfau <johannespfau@gmail.com> 2014-01-12 11:04:28 GMT ---
I'll close this as invalid for now.

GDC-4.8 with 2.064 frontend is still ~30% faster than dmd 2.064 which seems reasonable. GDC-4.8/2.064 is also ~(3-4) times faster than LDC with 2.063 so it seems there were indeed some performance improvements with the 2.064 frontend release.

Anyway, if this is still an issue it's likely an upstream phobos issue, or the changes in 2.064 have already fixed it.

Feel free to reopen this issue if you disagree.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.