Skip to content

Instantly share code, notes, and snippets.

@Uko
Created August 3, 2017 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Uko/eb3a5464f6b04334c1743e730fb21407 to your computer and use it in GitHub Desktop.
Save Uko/eb3a5464f6b04334c1743e730fb21407 to your computer and use it in GitHub Desktop.
Profile pharo
| methods size |
methods := (RPackage organizer packages select: [ :p | p packageManifestOrNil isNil]) flatCollect: #methods.
size := methods size *
(ReRuleManager uniqueInstance methodRules size +
ReRuleManager uniqueInstance nodeRules size).
(1 to: 10) collect: [ :x |
[ methods do: [ :m | m critiques ] ] timeToRunWithoutGC / size ].
| methods size |
methods := (RPackage organizer packages select: [ :p | p packageManifestOrNil isNil]) flatCollect: #methods.
size := methods size *
(ReRuleManager uniqueInstance methodRules size +
ReRuleManager uniqueInstance nodeRules size).
(1 to: 10) collect: [ :x |
[ methods do: [ :m | m critiques ] ] timeToRunWithoutGC / size ].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment