timholy / FlameGraphs.jl

Analysis of profiling data using trees
MIT License
51 stars 12 forks source link

Removal of hard dependency on Colors.jl #65

Open kimikage opened 5 months ago

kimikage commented 5 months ago

I think I have had this discussion in the past, but am not certain. The flamegraph is ,from its origins, inseparable from visualization as its name is given to its visual rather than its functionality.

However, data structure and visualization preferences should be separated, and in fact, I think they are somewhat separated. This motivation is the same as the recent attempt to resolve hard dependencies in SnoopCompile.

Can we use package extensions (and Requires if necessary) to remove the hard dependency on Colors.jl?

If we cannot achieve this in v1.0, the leap to v2.0 does not seem too painful.