Skip to content

rgabor-dev/streamline-browser-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Streamline Annotation Browser Plugin
====================================

This is a NPAPI plugin created with FireBreath framework.
It allows you to annotate your browser profiling info with Streamline.


Get FireBreath
==============
  http://www.firebreath.org/


Get Streamline anotation header
===============================
  You can find the annotation header in your Streamline directory under arm/gator/annotate/
  Copy streamline_annotate.h into your streamline-browser-plugin/StreamlineAnnotation/ directory


Make a project
==============
  cd firebreath-1.6
  mkdir projects
  cd projects
  cp -r /repo/path/streamline-browser-plugin/StreamlineAnnotation .


Compile the project
===================
  cd firebreath-1.6
  ./prepmake.sh
  cd build
  make


Plugin path
===========
  If everything is went well you can find the plugin at:
    build/bin/StreamlineAnnotation

  Set plugin search path:
    export MOZ_PLUGIN_PATH=/your/plugin/path


Simple page
===========

  <html>
  <body>

  <embed style="width:0px; height:0px;" type="application/x-streamlineannotation" id="plugin">

  <script type="text/javascript">
    var plugin = document.getElementById("plugin");

    plugin.startColorizedAnnotate("green","my stuff");

    // do something what you want to annotate

    plugin.stopAnnotate();

  </script>

  </body>
  </html>

About

Streamline annotation browser plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages