I've been quite busy over the last couple of weeks, but I would like to
push forward with HTML export of profiler data now (see [1]). In
addition to the patch as posted, I have some ideas for further extending
the HTML output -- but I suggest to merge the basic functionality first.
[1]
https://lists.gnu.org/archive/html/octave-maintainers/2015-11/msg00052.html
I like the suggested CSS addition by ederag. However, I'm not sure if
styling should go directly into the HTML template. Another idea,
borrowed from how Gnucash does HTML reports, is the following:
We could create a standalone CSS file that contains our rules (might be
more in the future, or we might also add JS files to enhance the report
even more). This file could be installed in a /usr/share location, and
then referenced (at this location) from the generated HTML files. This
seems like a cleaner way, although it means that HTML files may not be
portable to other machines -- not sure if that should be a design goal
or not.
What do you think, does that sound like a good idea? Or should we
include all relevant styling (and in the future possibly scripting) in
the HTML template itself in the .m file?