File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed 
src/BenchmarkDotNet/Running 
tests/BenchmarkDotNet.IntegrationTests Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class BuildPartition
2121    { 
2222        // We use an auto-increment global counter instead of Guid to guarantee uniqueness per benchmark run (Guid has a small chance to collide), 
2323        // assuming there are fewer than 4 billion build partitions (a safe assumption). 
24-         private  static int  s_partitionCounter ; 
24+         internal  static int  s_partitionCounter ; 
2525
2626        public  BuildPartition ( BenchmarkBuildInfo [ ]  benchmarks ,  IResolver  resolver ) 
2727        { 
Original file line number Diff line number Diff line change 1010using  BenchmarkDotNet . Jobs ; 
1111using  BenchmarkDotNet . Loggers ; 
1212using  BenchmarkDotNet . Reports ; 
13+ using  BenchmarkDotNet . Running ; 
1314using  BenchmarkDotNet . Tests . Loggers ; 
1415using  BenchmarkDotNet . Tests . XUnit ; 
1516using  BenchmarkDotNet . Toolchains . InProcess . Emit ; 
@@ -68,10 +69,10 @@ private void DiffEmit(Summary summary)
6869            if  ( ! Portability . RuntimeInformation . IsFullFramework ) 
6970                return ; 
7071
71-             var  caseName  =  summary . BenchmarksCases . First ( ) . Job . ToString ( ) ; 
72+             var  caseName  =  $ " { typeof ( InProcessEmitTest ) . Assembly . GetName ( ) . Name } - { summary . BenchmarksCases . First ( ) . Job } " ; 
7273            NaiveRunnableEmitDiff . RunDiff ( 
73-                 $@ "{ caseName } .exe", 
74-                 $@ "{ caseName } Emitted.dll", 
74+                 $@ "{ caseName } - { BuildPartition . s_partitionCounter } .exe", 
75+                 $@ "{ caseName } - { BuildPartition . s_partitionCounter   -   1 } Emitted.dll", 
7576                ConsoleLogger . Default ) ; 
7677        } 
7778
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments