glumia
Joined 7 years ago
Joined 7 years ago
In the last few weeks I worked on this library that allows you to profile functions or sections of Python code.
I started to work on it as I couldn't find a simple way to use 'external' profilers like py-spy in the context of AWS lambda functions nor was I satisfied with existing profiling libraries like pprofile.
The main idea was to create something that would make it straightforward to profile lambda functions and generate data for flamegraphs, but at the same time would be extensible to be used in other contexts and for other purposes.
It is now in a state I consider stable enough to be used in production and I would like to get some feedback before eventually releasing a v1.0.0 and freezing its API.
Let me know what you think :)
Yeah sorry, I used an instruction (last array element access with the a [-1] syntax) that was added on bash version >= 4.1 and macOS uses by default 3.2. What you described is exactly what happened when you tried to execute the `search_alias` function on the macOS terminal.
Anyway, I just fixed it, check latest release :)