Re: Packaging HTML/Javascript "application" for visualizing some json data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The next release of valgrind (3.15.0) will have an updated dhat tool
which creates a json output file. To make it easier to use the data it
comes with a small html/css/js "application" that makes it easy to
sort/visualize the data.

This html/css/js application is self-contained, it doesn't use any
other javascript code/libraries. It consists of 4 files:
dh_view.html, dh_view.css, dh_view.js and dh_test.js.

You would use it something like:
$ valgrind --tool=dhat /bin/sort < /usr/share/dict/words > /dev/null

Which generates a json file dhat.out.3759 [was attached].
Which you can then "load" into the dh_view.html app to see various
different representations of the data collected.

The output  dhat.out.3759  should be created in the current directory
or at the destination specified by valgrind's usual  --xml-*=<where>
command-line parameters.  This is no different from any other output
generated by valgrind.  The user will enter the URL to the browser
app's "load" command as  file://<path>  or as the result of a
"browse" dialog, much like File > Open.

The html/css/js "application" (4 files dh_view.html, dh_view.css,
dh_view.js and dh_test.js) belongs in a directory such as
 /usr/libexec/dhat .
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux