Coder Social home page Coder Social logo

kristofferc / profilesvg.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kimikage/profilesvg.jl

0.0 2.0 0.0 2.46 MB

Write flame graphs to SVG format and explore them interactively in Jupyter, Pluto, etc.

License: MIT License

Julia 70.12% JavaScript 29.88%

profilesvg.jl's Introduction

ProfileSVG

Docs Stable Docs Dev CI PkgEval Codecov

Purpose

ProfileSVG allows you to export profiling data as an SVG file. It can be used to display profiling results in Jupyter/IJulia notebooks, Pluto or any other SVG viewer.

An alternative visualization package is the GTK-based ProfileView. That package offers more interactive features. See the documentation for other visualization tools.

ProfileSVG is a package built on top of FlameGraphs. Among the Julia packages, ProfileView currently has the most comprehensive tutorial on how to interpret a flame graph.

Basic Usage in Jupyter

using ProfileSVG
@profview f(args...)

where f(args...) is the operation you want to profile.

The following screenshot illustrates Jupyter usage on a demonstration function profile_test:

Jupyter Notebook

You can hover over individual blocks in the flame graph to get more detailed information.

Third Party License Notes

The SVG data generated by ProfileSVG uses Snap.svg v0.3.0. Snap.svg is licensed under the Apache license version 2.0. See deps/LICENSE and deps/NOTICE for details.

profilesvg.jl's People

Contributors

kimikage avatar timholy avatar darwindarak avatar juliatagbot avatar pallharaldsson avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.