-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AllocationSiteProfiler: speeding up copyExecutionStack calculcation
- Loading branch information
1 parent
ab36cc7
commit 2cd3bb3
Showing
5 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Extension { #name : 'Behavior' } | ||
|
||
{ #category : '*IllimaniProfiler-Tests' } | ||
Behavior >> illNew [ | ||
"Mocking method for testing " | ||
|
||
^ self basicNew initialize | ||
] |
7 changes: 7 additions & 0 deletions
7
src/IllimaniProfiler-Tests/IllAllocationSiteProfiler.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : 'IllAllocationSiteProfiler' } | ||
|
||
{ #category : '*IllimaniProfiler-Tests' } | ||
IllAllocationSiteProfiler >> instrumentator: anInstrumentator [ | ||
|
||
instrumentator := anInstrumentator | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Class { | ||
#name : 'IllMockInstrumentator', | ||
#superclass : 'IllInstrumentator', | ||
#category : 'IllimaniProfiler-Tests-Allocations-Profiler', | ||
#package : 'IllimaniProfiler-Tests', | ||
#tag : 'Allocations-Profiler' | ||
} | ||
|
||
{ #category : 'initialization' } | ||
IllMockInstrumentator >> initializeMethodProxies [ | ||
|
||
proxyBasicNew := MpMethodProxy onMethod: Behavior >> #illNew handler: handler | ||
] | ||
|
||
{ #category : 'instrumentation' } | ||
IllMockInstrumentator >> proxyVariables [ | ||
|
||
^ { proxyBasicNew } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters