During the work week I threw together a script to count usages of
unrooted types. I've frobulated the script now to give more accurate
results and to be able to print unrooted matches in a directory. If
anyone want to use it, to find things that need rooting, I've attached
it here. The new counts are:
+------------+
| m-i/js/src |
+------------+
JSObject : 2939
ObjectImpl: 34
JSString : 735
BaseShape : 65
Shape : 425
Script : 210
TypeObject: 241
IonCode : 256
XML : 632
=====
Total : 5537
+------------------+
| m-i/js/xpconnect |
+------------------+
JSObject : 1084
ObjectImpl: 0
JSString : 103
BaseShape : 2
Shape : 2
Script : 3
TypeObject: 2
IonCode : 2
XML : 5
=====
Total : 1203
+------------------+
| m-i/js/xpconnect |
+------------------+
JSObject : 1084
ObjectImpl: 0
JSString : 103
BaseShape : 2
Shape : 2
Script : 3
TypeObject: 2
IonCode : 2
XML : 5
=====
Total : 1203
+--------+
| m-i/js |
+--------+
JSObject : 4101
ObjectImpl: 34
JSString : 893
BaseShape : 66
Shape : 426
Script : 233
TypeObject: 242
IonCode : 257
XML : 636
=====
Total : 6888
+---------+
| m-i/dom |
+---------+
JSObject : 1314
ObjectImpl: 0
JSString : 156
BaseShape : 0
Shape : 22
Script : 224
TypeObject: 0
IonCode : 0
XML : 226
=====
Total : 1942
+------+
| m-i/ |
+------+
JSObject : 6237
ObjectImpl: 45
JSString : 1133
BaseShape : 67
Shape : 496
Script : 745
TypeObject: 247
IonCode : 269
XML : 2018
=====
Total : 11257
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals