promotion
Powerful debugging in Xcode,
no code changes or 3rd party frameworks required.

Introducing timeui

A little while ago I coded a minimal profiling tool for the macOS command line and called it timeui. Last week I pushed the source code online in the hope other people would like it and use it (and eventually contribute some code too). In this post I’ll introduce you quickly to timeui and what it can currently do for you. What is timeui? timeui is a command line tool that profiles an app you provide it and shows duration, apple’s universal logging intervals, CPU usage and memory footprint: …

Posted on

5 Stranger Things you can do with Timelane at NSSpain

For my talk at NSSpain 2020 I’ve prepared a beyond-the-basics Timelane talk. I think everyone who’s heard about Timelane by now knows what it does for its simplest use case - debugging some Combine based code. However, you can do much, much more with Timelane! So for my NSSpain 2020 talk I prepared 5 little examples on how to use Timelane beyond the simplest use case. I’ve pushed all the demo apps I use in my talk to this repository: https://github. …

Posted on

How to create a custom instrument on top of Timelane!

You can easily log data in Instruments by using the functions in Apple’s os framework. All you need is to use os_log(…) and that will log data in Instruments. If you’d like to read more about this check out Recording Performance Data Apple article. Creating a real custom instrument, however, is a little more complicated as you can learn in Creating Custom Instruments WWDC2018 video and it involves XML, CLIPS, and more complex stuff. …

Posted on