rdb
1375d38725
showbase: Fix assorted issues with GarbageReport:
...
* Use of removed `types.InstanceType`
* New-style classes are not reported very neatly
* Extreme amount of digits in report due to float division
Fixes #1304
2022-12-09 17:34:27 +01:00
rdb
d576c6b638
Improvements to generated API docs, especially in direct tree.
...
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb
23bf9ea5c7
The direct tree is now valid Python 2 *and* 3
2016-03-28 22:33:30 +02:00
rdb
0d03207d1b
Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code
2016-02-12 22:20:27 +01:00
mfwass
f8837999ed
Cleanup trailing whitespace
2015-12-13 10:08:41 -05:00
rdb
d9342043b0
Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour
2015-06-28 13:55:31 +02:00
Darren Ranalli
a975e14907
added support for _garbageInfo custom info callback
2010-08-11 00:43:03 +00:00
Josh Wilson
68029c8607
adding 'done' line to garbage report
2010-05-23 04:33:50 +00:00
Darren Ranalli
bd155bb2e3
disable-garbage-logging -> auto-garbage-logging
2010-05-07 23:13:27 +00:00
Darren Ranalli
294e536d65
make hotkey-driven garbage reporting dev-only
2010-05-07 22:50:23 +00:00
Darren Ranalli
95bff4b0e0
removed unused variable
2009-11-19 23:47:24 +00:00
Darren Ranalli
039ad0ab05
disable automatic garbage logging until system is ready
2009-02-04 00:12:35 +00:00
Darren Ranalli
a72c76a318
garbage leak server events
2009-01-31 01:27:53 +00:00
Darren Ranalli
fcfd9f8e20
log number of garbage cycles even if we've previously printed the full info on those cycles
2009-01-28 23:39:51 +00:00
Darren Ranalli
1872148320
added 'collect' option to avoid redundant collects
2009-01-26 23:06:03 +00:00
Darren Ranalli
90eb2bf52e
don't re-print garbage info if no new garbage
2009-01-26 22:54:50 +00:00
Darren Ranalli
154fa4b198
added disable-garbage-logging
2009-01-26 19:44:46 +00:00
Darren Ranalli
2c71002065
fix for client crash
2009-01-23 00:31:18 +00:00
Darren Ranalli
07461ccbdd
shift-f11 logs garbage cycle info and reports results in the client
2009-01-22 19:19:37 +00:00
Darren Ranalli
a9f3242305
check for garbage leaks in dev on window close and defocus, check on both client and AI
2009-01-21 23:49:33 +00:00
Darren Ranalli
0fb988e6d3
default gc to DEBUG_SAVEALL, added delOnly option to GarbageReport, to deal with garbage collect CPU spikes
2008-12-19 21:54:47 +00:00
Darren Ranalli
82c8616e91
report number of garbage cycles instead of number of garbage items
2008-12-05 02:12:52 +00:00
Darren Ranalli
fb1aa31b78
stop using gc.DEBUG_SAVEALL (not necessary), GarbageReport output readability improvements
2008-12-05 01:50:55 +00:00
Darren Ranalli
904d6cb128
improved readability of GarbageReport Python-syntax section
2008-09-12 01:14:37 +00:00
Darren Ranalli
b8523833f7
added Python syntax version of cycles
2008-08-26 23:06:34 +00:00
Darren Ranalli
ea16d65902
crash fix: len of unsized object
2008-07-29 04:44:11 +00:00
Darren Ranalli
2acc9332f1
show deeptypes of garbage items
2008-07-28 21:00:17 +00:00
Darren Ranalli
233501d0a6
removed linear searches, fixed bugs that prevented some garbage cycles from printing
2008-07-28 19:37:27 +00:00
Darren Ranalli
bacc0ce975
reduce log spam, don't print object types
2008-02-07 04:27:34 +00:00
Darren Ranalli
48d9e54a0f
don't yield if no garbage, quick feedback
2007-12-07 03:44:39 +00:00
Darren Ranalli
8127bcb6b3
added 'safe' mode to GarbageReport for dealing with C++ crashes in __repr__
2007-11-13 21:23:28 +00:00
Darren Ranalli
c02ed6356a
use notify for GarbageReport printing, don't print SUSPEND/RESUME msgs
2007-05-14 19:42:20 +00:00
Darren Ranalli
4ac6f8c885
added GarbageReportScheduler
2007-04-25 21:13:26 +00:00
Darren Ranalli
936e6dcbbc
removed old comment
2007-04-24 02:52:48 +00:00
Darren Ranalli
301c6d9aea
better timeslicing
2007-04-19 01:48:11 +00:00
Darren Ranalli
61b30a423c
added autoDestroy, extra output line at the end
2007-03-15 05:00:37 +00:00
Redmond Urbino
53a3560e97
kill toontown crash when you directly close the window
2007-03-14 19:12:43 +00:00
Darren Ranalli
6229b8bdcc
added printingBegin/printingEnd to standardize suspend/resume logging
2007-03-14 08:34:01 +00:00
Darren Ranalli
78b10c41ba
prevent Job generator leak, added JobManager.finish(job), logging GarbageReports auto-destroy
2007-03-14 03:09:23 +00:00
Redmond Urbino
ad030f1b18
default numGarbage to zero
...
Fixes a toontown crash when you exit
2007-03-12 21:46:39 +00:00
Darren Ranalli
f790a11254
converted to be a job
2007-03-10 13:12:16 +00:00
David Rose
216e635ee7
more __all__ fixes from Josh Yelon
2006-08-10 22:14:31 +00:00
Darren Ranalli
d3a036d2c9
fixed crashes in fullReport
2006-08-02 08:46:35 +00:00
Darren Ranalli
6d4def41b7
ObjectReport tweaks for tracking down LawBot AI mem leak
2006-06-29 18:07:28 +00:00
Darren Ranalli
2360220a99
use verbose instance type
2006-06-23 21:21:00 +00:00
Darren Ranalli
522fa09f1a
crash fix
2006-06-03 06:35:45 +00:00
Darren Ranalli
d9d54a75fa
longer printout length per garbage item repr
2006-06-01 17:57:01 +00:00
Darren Ranalli
7aa8c050f9
prevent printing of really long item repr's
2006-05-25 23:21:12 +00:00
Darren Ranalli
46cc183430
abbreviated garbage list printout, GarbageReport accepts timeslice param
2006-05-25 01:14:54 +00:00
Darren Ranalli
a5b3aa1087
task-threaded GarbageReport
2006-05-20 01:03:30 +00:00