float[] → Vertex[] – decreases performance by 1000%

David d at dav1d.de
Wed Jul 25 16:00:25 PDT 2012


Am 26.07.2012 00:37, schrieb Ali Çehreli:
> On 07/25/2012 03:26 PM, David wrote:
>> Am 26.07.2012 00:12, schrieb Ali Çehreli:
>>> On 07/24/2012 11:38 AM, David wrote:
>>>
>>> > Well this change decreases my performance by 1000%.
>>>
>>> Random guess: CPU cache misses?
>>>
>>> Ali
>>>
>>
>> You're the 2nd one mentioning this, any ideas how to check this?
>
> I have no experience. Pages like this look promising:
>
>
> http://stackoverflow.com/questions/2486840/linux-c-how-to-profile-time-wasted-due-to-cache-misses
>
>
> Ali

 From what I've seen everything is ok (I used `perf top -e 
L1-dcache-load-misses -e L1-dcache-loads` to see the hotspots, nothing 
too bad)


More information about the Digitalmars-d-learn mailing list