Could we just filter the time read, i.e. in read_jpm_, filter PMTIME defined as:
PMTIME=: 6!:11 '' I am not sure if we also need to adjust other results in PMTIME. On Sun, Mar 25, 2012 at 8:23 AM, Ric Sherlock <tikk...@gmail.com> wrote: > I agree Lucida Console is a good choice and it is installed on my > machine. Not sure why it doesn't come up. I think it was the other > error that was causing the major problems - I haven't tested the > changes yet though. > > I get the impression that the gtk_main_iteration and acceptJ verbs are > looping the whole time - they just seem to report the total wall clock > time between running start_jpm_ and one of the summary verbs. > > On Sat, Mar 24, 2012 at 3:47 PM, bill lam <bbill....@gmail.com> wrote: > > I suspect gtk_main_iteration or acceptJ are dead load and > > should be provided option to subtract them from the total. > > > > on the grid issues. > > I like lucida console and think it should be available in win-xp or > > newer but I was wront obviously. I didn't pick courier new because > > it is not a good programmer font, compare the shapes of 1,l,0,o. > > Could you suggest an choice of font that comes with all windows from > > winxp to win7? > > > > the double click was detected under linux but not window. furthermore > > it works under window for gtk3. This seems to be a gtk binary > > problem. > > > > the gtk_window_set_title error is a copy-and-paste code error now > > fixed. > > > > Сбт, 24 Мар 2012, Ric Tikkanz писал(а): > >> Thanks Bill, > >> The summary tables display fine in the grid from within the Gtk IDE now. > >> > >> The key problem seems to me though, how to focus the results on the > >> functions being explicitly tested rather than the time spent in the > >> gtk_main_iteration (ide/gkt) or acceptJ (ide/jhs) verbs. Chris, Eric > >> any thoughts? > >> > >> One work around for the time being is to do timing testing in a > >> jconsole session for now. The basic showtotal and showgrid verbs work > >> but unfortunately although the gtk grid does display, there is a > >> critical error and the J session crashes: > >> > >> load 'jpm' > >> load 'gtk' > >> gtkinit_jgtk_'' > >> start_jpm_ 1e7 > >> 178570 > >> $calendar 2012 > >> 12 > >> viewtotal_jpm_ '' > >> > >> (jconsole.exe:4896): Pango-WARNING **: couldn't load font ""Lucida > Console" Not- > >> Rotated 10", falling back to "Sans Not-Rotated 10", expect ugly output. > >> > >> (jconsole.exe:4896): Gtk-CRITICAL **: gtk_window_set_title: assertion > `GTK_IS_WI > >> NDOW (window)' failed > >> 0 > >> > >> Also in the J6 version you can double click on a line in the viewtotal > >> grid which will pull up the viewdetail grid for that verb. That > >> doesn't seem to work for now in the gtk version. > >> > >> > >> On Fri, Mar 23, 2012 at 4:36 PM, bill lam <bbill....@gmail.com> wrote: > >> > jpm updated to use jgtk grid without gtkwd. > >> > > >> > Чтв, 22 Мар 2012, Ric Tikkanz писал(а): > >> >> I tested the J Performance Monitor on J7. > >> >> > http://www.jsoftware.com/docs/help701/jforc/performance_measurement__tip.htm#_Toc191734580 > >> >> > >> >> While jconsole sessions seem OK, both ide/jhs and ide/gtk look like > >> >> they might need some work to provide useful results because the > >> >> interface functions "contaminate" and dominate the reports. In > >> >> addition the Grid-based gui for JPM doesn't seem to work for the > >> >> ide/gtk Front End. Is it likely to be difficult "fix" these issues? > >> >> > >> >> Sessions displaying the use of JPM in each of the Front Ends and the > >> >> resulting issues are shown below: > >> >> > >> >> ====================================== > >> >> jconsole session > >> >> ====================================== > >> >> load 'jpm' > >> >> start_jpm_ 1e7 > >> >> 357142 > >> >> $calendar 2012 > >> >> 12 > >> >> showtotal_jpm_ '' > >> >> Time (seconds) > >> >> +--------+------+--------+--------+-----+----+---+ > >> >> |name |locale|all |here |here%|cum%|rep| > >> >> +--------+------+--------+--------+-----+----+---+ > >> >> |calendar|base |0.000217|0.000217|100.0|100 |2 | > >> >> |[total] | | |0.000217|100.0|100 | | > >> >> +--------+------+--------+--------+-----+----+---+ > >> >> > >> >> ====================================== > >> >> ide/jhs session > >> >> ====================================== > >> >> J Http Server > >> >> load 'jpm' > >> >> start_jpm_ 1e7 > >> >> 178570 > >> >> $calendar 2012 > >> >> 12 > >> >> showtotal_jpm_'' > >> >> Time (seconds) > >> >> ┌───────┬───────┬─────────┬─────────┬─────┬────┬───┐ > >> >> │name │locale │all │here │here%│cum%│rep│ > >> >> ├───────┼───────┼─────────┼─────────┼─────┼────┼───┤ > >> >> │acceptJ│jsocket│17.700288│17.700288│100.0│100 │2 │ > >> >> │[rest] │ │ │ 0.006076│ 0.0│100 │ │ > >> >> │[total]│ │ │17.706364│100.0│100 │ │ > >> >> └───────┴───────┴─────────┴─────────┴─────┴────┴───┘ > >> >> > >> >> ====================================== > >> >> ide/gtk session > >> >> ====================================== > >> >> load 'jpm' > >> >> start_jpm_ 1e7 > >> >> 178570 > >> >> $calendar 2012 > >> >> 12 > >> >> showtotal_jpm_'' > >> >> Time (seconds) > >> >> +------------------+-------+--------+--------+-----+----+---+ > >> >> |name |locale |all |here |here%|cum%|rep| > >> >> +------------------+-------+--------+--------+-----+----+---+ > >> >> |gtk_main_iteration|jgtkide|7.341677|7.331291| 99.8|100 |125| > >> >> |[rest] | | |0.014605| 0.2|100 | | > >> >> |[total] | | |7.345895|100.0|100 | | > >> >> +------------------+-------+--------+--------+-----+----+---+ > >> >> > >> >> require 'gtkwd' > >> >> viewtotal_jpm_'' > >> >> |assertion failure: cairo_glclipreset > >> >> | 0~:gtkcr,gtkpl > >> >> > ---------------------------------------------------------------------- > >> >> For information about J forums see > http://www.jsoftware.com/forums.htm > >> > > >> > -- > >> > regards, > >> > ==================================================== > >> > GPG key 1024D/4434BAB3 2008-08-24 > >> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> > ---------------------------------------------------------------------- > >> > For information about J forums see > http://www.jsoftware.com/forums.htm > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm