@@ -183,9 +183,8 @@ export const timeProfile: perftools.profiles.IProfile = Object.freeze({
183
183
184
184
// timeProfile is encoded then decoded to convert numbers to longs, in
185
185
// decodedTimeProfile
186
- const encodedTimeProfile = perftools . profiles . Profile . encode (
187
- timeProfile
188
- ) . finish ( ) ;
186
+ const encodedTimeProfile =
187
+ perftools . profiles . Profile . encode ( timeProfile ) . finish ( ) ;
189
188
export const decodedTimeProfile = Object . freeze (
190
189
perftools . profiles . Profile . decode ( encodedTimeProfile )
191
190
) ;
@@ -340,9 +339,8 @@ export const heapProfile: perftools.profiles.IProfile = Object.freeze({
340
339
341
340
// heapProfile is encoded then decoded to convert numbers to longs, in
342
341
// decodedHeapProfile
343
- const encodedHeapProfile = perftools . profiles . Profile . encode (
344
- heapProfile
345
- ) . finish ( ) ;
342
+ const encodedHeapProfile =
343
+ perftools . profiles . Profile . encode ( heapProfile ) . finish ( ) ;
346
344
export const decodedHeapProfile = Object . freeze (
347
345
perftools . profiles . Profile . decode ( encodedHeapProfile )
348
346
) ;
@@ -396,8 +394,8 @@ const heapLocationsWithExternal = [
396
394
new perftools . profiles . Location ( { line : [ heapLinesWithExternal [ 4 ] ] , id : 5 } ) ,
397
395
] ;
398
396
399
- export const heapProfileWithExternal : perftools . profiles . IProfile = Object . freeze (
400
- {
397
+ export const heapProfileWithExternal : perftools . profiles . IProfile =
398
+ Object . freeze ( {
401
399
sampleType : [
402
400
new perftools . profiles . ValueType ( { type : 1 , unit : 2 } ) ,
403
401
new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
@@ -452,14 +450,12 @@ export const heapProfileWithExternal: perftools.profiles.IProfile = Object.freez
452
450
timeNanos : 0 ,
453
451
periodType : new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
454
452
period : 524288 ,
455
- }
456
- ) ;
453
+ } ) ;
457
454
458
455
// heapProfile is encoded then decoded to convert numbers to longs, in
459
456
// decodedHeapProfile
460
- const encodedHeapProfileWithExternal = perftools . profiles . Profile . encode (
461
- heapProfile
462
- ) . finish ( ) ;
457
+ const encodedHeapProfileWithExternal =
458
+ perftools . profiles . Profile . encode ( heapProfile ) . finish ( ) ;
463
459
export const decodedHeapProfileWithExternal = Object . freeze (
464
460
perftools . profiles . Profile . decode ( encodedHeapProfileWithExternal )
465
461
) ;
@@ -501,8 +497,8 @@ const anonymousFunctionHeapLocations = [
501
497
} ) ,
502
498
] ;
503
499
504
- export const anonymousFunctionHeapProfile : perftools . profiles . IProfile = Object . freeze (
505
- {
500
+ export const anonymousFunctionHeapProfile : perftools . profiles . IProfile =
501
+ Object . freeze ( {
506
502
sampleType : [
507
503
new perftools . profiles . ValueType ( { type : 1 , unit : 2 } ) ,
508
504
new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
@@ -528,8 +524,7 @@ export const anonymousFunctionHeapProfile: perftools.profiles.IProfile = Object.
528
524
timeNanos : 0 ,
529
525
periodType : new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
530
526
period : 524288 ,
531
- }
532
- ) ;
527
+ } ) ;
533
528
534
529
const anonymousFunctionTimeNode = {
535
530
scriptName : 'main' ,
@@ -574,8 +569,8 @@ const anonymousFunctionTimeLocations = [
574
569
} ) ,
575
570
] ;
576
571
577
- export const anonymousFunctionTimeProfile : perftools . profiles . IProfile = Object . freeze (
578
- {
572
+ export const anonymousFunctionTimeProfile : perftools . profiles . IProfile =
573
+ Object . freeze ( {
579
574
sampleType : [
580
575
new perftools . profiles . ValueType ( { type : 1 , unit : 2 } ) ,
581
576
new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
@@ -602,8 +597,7 @@ export const anonymousFunctionTimeProfile: perftools.profiles.IProfile = Object.
602
597
durationNanos : 10 * 1000 * 1000 * 1000 ,
603
598
periodType : new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
604
599
period : 1000 ,
605
- }
606
- ) ;
600
+ } ) ;
607
601
608
602
const heapWithPathLeaf1 = {
609
603
name : 'foo2' ,
@@ -721,8 +715,8 @@ const heapIncludePathLocations = [
721
715
} ) ,
722
716
] ;
723
717
724
- export const heapProfileIncludePath : perftools . profiles . IProfile = Object . freeze (
725
- {
718
+ export const heapProfileIncludePath : perftools . profiles . IProfile =
719
+ Object . freeze ( {
726
720
sampleType : [
727
721
new perftools . profiles . ValueType ( { type : 1 , unit : 2 } ) ,
728
722
new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
@@ -764,8 +758,7 @@ export const heapProfileIncludePath: perftools.profiles.IProfile = Object.freeze
764
758
timeNanos : 0 ,
765
759
periodType : new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
766
760
period : 524288 ,
767
- }
768
- ) ;
761
+ } ) ;
769
762
770
763
// heapProfile is encoded then decoded to convert numbers to longs, in
771
764
// decodedHeapProfile
@@ -802,8 +795,8 @@ const heapExcludePathLocations = [
802
795
} ) ,
803
796
] ;
804
797
805
- export const heapProfileExcludePath : perftools . profiles . IProfile = Object . freeze (
806
- {
798
+ export const heapProfileExcludePath : perftools . profiles . IProfile =
799
+ Object . freeze ( {
807
800
sampleType : [
808
801
new perftools . profiles . ValueType ( { type : 1 , unit : 2 } ) ,
809
802
new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
@@ -830,8 +823,7 @@ export const heapProfileExcludePath: perftools.profiles.IProfile = Object.freeze
830
823
timeNanos : 0 ,
831
824
periodType : new perftools . profiles . ValueType ( { type : 3 , unit : 4 } ) ,
832
825
period : 524288 ,
833
- }
834
- ) ;
826
+ } ) ;
835
827
836
828
// heapProfile is encoded then decoded to convert numbers to longs, in
837
829
// decodedHeapProfile
0 commit comments