Khronos

View:

Project Image

Description:

I built a lightweight C library that tracks how long functions take to run and how many times they're called, then exports everything to a simple JSON file. The library is designed to be super easy to use (just five functions to add profiling to any C program) and it's accurate down to the nanosecond using POSIX timing functions. The second part is a web app where the user can upload those JSON files and see his performance data come to life. Built with Flask and Plotly, it shows interactive charts and statistics about his code's performance. You can create an account, upload multiple analyses, and track how your programs perform over time. I deployed it with Gunicorn and Caddy, using signed cookie sessions to keep everything fast and secure without needing Redis or other session storage.

Technologies Used:

  • C
  • Flask
  • HTML
  • CSS
  • JavaScript
icon map