Skip to content

Instantly share code, notes, and snippets.

@benblo
benblo / CompilationTimeTracker.cs
Created February 11, 2019 11:47
Measure compilation times in Unity (import, compilation, domain reload). Can export results to a json Chrome trace file.
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEditor;
using UnityEditor.Compilation;