Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.39 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.39 KB

ninjavis

build version format license

Introduction

Generate visualization from Ninja build logs. Ninjavis parse the ninja build logs and for each item of the build extract its target, starting and end time. It output those information in a template containing a simple timeline ; the visualization is done by vis.js.

Inspired by buildbloat.

Usage

usage: ninjavis --title "my build" ninja_build.log build_profile.html

⚠️ Run ninja -t recompact first to make sure that no duplicate entries are in the build log.

Example

Profile of Ninja 1.8.2 build Ninja 1.8.2 build profile

Output HAR? https://en.wikipedia.org/wiki/HAR_(file_format)

https://github.com/firefox-devtools/profiler

https://github.com/nico/ninjatracing https://www.speedscope.app/ https://ui.perfetto.dev/

https://github.com/google/pybadges