Commit Graph

7 Commits

Author SHA1 Message Date
dyb
ee9a4b3f59 profile counts are now maintained even for code that has been
reclaimed by the collector and must be released explicitly by the
programmer via (profile-release-counters).
  pdhtml.ss, primdata.ss,
  globals.h, externs.h, fasl.c, prim5.c, prim.c, alloc.c, scheme.c,
  misc.ms,
  release_notes.stex, system.stex

original commit: 68e20f721618dbaf4c1634067c2bee24a493a750
2019-01-17 09:43:18 -08:00
dyb
64b0db8e30 fixed gather-filedata's sort of profile entries. for any two
entries x and y in the list produced by the sort call, if x's
bfp = y's bfp, x should come before y if x's efp < y's efp.
The idea is that enclosing entries should always come later
in the list.  this affects only languages where two expressions
can start at the same character position.
  pdhtml.ss
expanded capability of ez-grammar with support for simpl
parsing of binary operators w/precedence and associativity
and automatically generated markdown grammar descriptions.
ez-grammar-test.ss now also doubles as a test of pdhtml for
algebraic languages.
  mats/examples.ms,
  examples/ez-grammar.ss, examples/ez-grammar-test.ss,
  examples/Makefile

original commit: 53b8d16a1e86f3956585dbec0c7b573e485f7844
2017-10-30 21:01:43 -04:00
Bob Burger
831ea8ad18 changed copyright year to 2017
7.ss, scheme.1.in, comments of many files

original commit: 06f858f9a505b9d6fb6ca1ac97234927cb2dc641
2017-04-06 11:41:33 -04:00
Chris Frisz
477698d4a8 Fix profile counters for non-s-expression source
Check both the beginning file pointer (bfp) and end file pointer (efp)
of the source location associated with a profile counter when updating
its count.

Assuming that each expression has a unique bfp with respect to profiling
seems to give accurate execution counts for s-expression-based source
locations as in Scheme, but causes problems when targeting other kinds
of syntax. For instance, a C-style function call, referencing the called
function by name, such as "fn(arg)", can logically have profile counters
associated with 1) the function name reference ("fn") and 2) the entire
function call expression ("fn(arg)"), both of which begin at the same
source location. Only the bfp is checked when updating profile counters,
so the two source locations are conflated, and only one counter is
incremented, which gives inaccurate execution counts for both locations;
approximately twice as many for one, and zero for the other.

original commit: d364b05c3c9cd2b299fc20a6f5ec255ab7bd6718
2016-11-02 15:14:34 -04:00
Michael Lenaghan
4981f21c59 Continue the refresh of the profiler's HTML output.
* Add some simple reset CSS

 * Add some simple base CSS (which includes making the default font family "monospace")

 * Change the header on the Profile page

 * Add a header to the source file pages

 * Desaturate the default profile palette

 * Make various other small tweaks, e.g.:

    * Change sizing from em's to rem's
    * Change H3s to H1s and Ps to H2s
    * Change &nbsp; to padding
    * etc.

 * Update csug with the new default profile palette and some new screenshots (and change occurrences of "css" to "CSS")

original commit: f7d7109de6845f6e91d4a7d77063d46e7e0dff3f
2016-05-17 12:41:36 -04:00
Michael Lenaghan
81ed605baf Begin a refresh of the profiler's HTML output.
* Mark the files as HTML5 rather than HTML4.

 * Use target attributes rather than onclick events to open links in specific windows.

 * Add a missing table row element.

 * Replace the deprecated name attribute with an id attribute (and replace the anchors with spans).

 * Replace the deprecated valign attribute with a style attribute.

original commit: bcaba9db283693ee6d4e79e82ba0ff60ee90ba5c
2016-05-13 15:15:45 -04:00
dyb
1356af91b3 initial upload of open-source release
original commit: 47a210c15c63ba9677852269447bd2f2598b51fe
2016-04-26 10:04:54 -04:00