Skip to content

Commit 381b307

Browse files
committed
revamp settings system to be generic and table-driven
1 parent f905d90 commit 381b307

14 files changed

Lines changed: 746 additions & 1085 deletions

examples/goroutines.pb.gz

20.8 KB
Binary file not shown.

src/app/ProfileCollection.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import {
3232
Frame,
3333
Group,
3434
FileSection,
35-
NameExtractionPattern,
3635
Filter,
3736
Goroutine,
3837
Category,
@@ -294,8 +293,8 @@ export interface ProfileCollectionSettings {
294293
functionPrefixesToTrim: RegExp[];
295294
filePrefixesToTrim: RegExp[];
296295
titleManipulationRules: TitleRule[];
297-
nameExtractionPatterns: NameExtractionPattern[];
298-
zipFilePattern: string;
296+
nameExtractionPatterns: string[];
297+
zipFilePatterns: RegExp[];
299298
categoryRules: CategoryRule[];
300299
}
301300

0 commit comments

Comments
 (0)