Skip to content

Extract BenchmarkConfig from Benchmark #111

@jamesmarkchan

Description

@jamesmarkchan

It is best to extract benchmark configuration out of the benchmark.

the benchmark configuration could have a copy of the BenchmarkProfile.

Benchmark would have underneath it:

  1. Start and end time
  2. BenchmarkConfig > container benchmark profile or attributes contained in the profile.
  3. SystemInformation (this could be part of config)
  4. Operations
public class BenchmarkConfig {
    
    private BenchmarkProfile profile = null;
    
    public BenchmarkProfile getProfile() { return profile; }
    public void setProfile(BenchmarkProfile profile) {
        this.profile = profile;
    }
    
    // Additional run-specific metadata
    // relocate from the Benchmark class here, everything but results
}

This would affect the backend schema and any code that reads the benchmark datamodel.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions