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 <[email protected]> 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
