Some checks failed
		
		
	
	Docs CI / lint-and-preview (push) Has been cancelled
				
			- Implemented RustFsArtifactObjectStore for managing artifacts in RustFS. - Added unit tests for RustFsArtifactObjectStore functionality. - Created a RustFS migrator tool to transfer objects from S3 to RustFS. - Introduced policy preview and report models for API integration. - Added fixtures and tests for policy preview and report functionality. - Included necessary metadata and scripts for cache_pkg package.
		
			
				
	
	
		
			25 lines
		
	
	
		
			737 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			737 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Globalization;
 | |
| 
 | |
| namespace StellaOps.Bench.ScannerAnalyzers;
 | |
| 
 | |
| internal sealed record ScenarioResult(
 | |
|     string Id,
 | |
|     string Label,
 | |
|     int SampleCount,
 | |
|     double MeanMs,
 | |
|     double P95Ms,
 | |
|     double MaxMs,
 | |
|     int Iterations,
 | |
|     double ThresholdMs)
 | |
| {
 | |
|     public string IdColumn => Id.Length <= 28 ? Id.PadRight(28) : Id[..28];
 | |
| 
 | |
|     public string SampleCountColumn => SampleCount.ToString(CultureInfo.InvariantCulture).PadLeft(5);
 | |
| 
 | |
|     public string MeanColumn => MeanMs.ToString("F2", CultureInfo.InvariantCulture).PadLeft(9);
 | |
| 
 | |
|     public string P95Column => P95Ms.ToString("F2", CultureInfo.InvariantCulture).PadLeft(9);
 | |
| 
 | |
|     public string MaxColumn => MaxMs.ToString("F2", CultureInfo.InvariantCulture).PadLeft(10);
 | |
| }
 |