The Inbox: Tests-ul.64.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Tests-ul.64.mcz

commits-2
A new version of Tests was added to project The Inbox:
http://source.squeak.org/inbox/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]]]!