chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] Any thoughts on performance woes?


From: Felix Winkelmann
Subject: Re: [Chicken-hackers] Any thoughts on performance woes?
Date: Tue, 07 Apr 2015 13:36:33 +0200 (CEST)

> I just had this crazy idea of new tooling that would help the curious
> programmer to find the line of code that triggers a lot of allocation,
> or find the line of code that causes a lot of GCs.

One could extend the profiling machinery to also trace and count
allocations (the compiler already keeps track of the amount of memory
allocated inline in each CPS procedure, this would have to also take
non-inline allocation into account). The problem is that CPS heavily
transforms the source code, but it would be a start.


felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]