Rizel-Core
It compares two exetucions and it detects:
- new methods
- deleted methods
- bytecode changed methods
- source code changed methods
- delta execution time
- delta number of executions
- merge static structure: packages, classes and methods
Merge two profiles (RzProfilerSpy) to detect topological and weight changes between executions. Next step, visualize information!!!
Rizel-Core classes
- RzObject
- RzProfile
- RzMethod
- RzClass
- RzPackage
Rizel-Core dependences
Sample Code
RzProfileTests>>testMerge
|A B rzProfile|
Gofer new
url:'http://ss3.gemstone.com/ss/Versionner';
version:'Rizel-Test-Scenario-JuanPabloSandovalAlcocer.1';
load.
A := RzProfilerSpy profile: [
self buildPendrive.
] inClassCategory:'Rizel-Test-Scenario'.
Gofer new
url:'http://ss3.gemstone.com/ss/Versionner';
version: 'Rizel-Test-Scenario-JuanPabloSandovalAlcocer.2';
load.
B := RzProfilerSpy profile: [
self buildPendrive.
] inClassCategory:'Rizel-Test-Scenario'.
rzProfile := RzProfile merge: A with: B.
self assert: (rzProfile newMethods size = 1).
self assert: ((rzProfile methods select: #hasDifferentByteCode) size = 2).