[Pkg] The Trunk: Tests-ul.64.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Mar 27 21:42:41 UTC 2010


Andreas Raab uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-ul.64.mcz

==================== Summary ====================

Name: Tests-ul.64
Author: ul
Time: 27 March 2010, 9:49:51.158 pm
UUID: fd20a054-d13c-884d-80b9-2c3449a310c4
Ancestors: Tests-bf.63

- removed the forced full GC and Transcript logging from DecompilerTests >> #decompileClassesSelect:. This gives ~2.6x speedup for running these tests (from 80 to 30 seconds on my pc)

=============== Diff against Tests-bf.63 ===============

Item was changed:
  ----- Method: DecompilerTests>>decompileClassesSelect: (in category 'utilities') -----
  decompileClassesSelect: aBlock
  	
  	(Smalltalk classNames select: aBlock) do:
  		[:cn | | cls |
+ 		cls := Smalltalk globals at: cn.
- 		cls := Smalltalk at: cn.
- 		Smalltalk garbageCollect.
- 		 Transcript cr; show: cn.
  		 cls selectorsAndMethodsDo:
  			[:selector :meth |
  			(self isFailure: cls sel: selector) ifFalse:
  				[" to help making progress
  					(self
  						isStoredProblems: cls theNonMetaClass
  						sel: selector
  						meta: cls isMeta)
  					ifFalse: [ "
- 				Transcript nextPut: $.; flush.
  				self checkDecompileMethod: meth]]]!



More information about the Packages mailing list