func NewDetails(benchmarkId BenchmarkId, gitRef string, startedAt string, result Result) *Details {
	return &Details{
		BenchmarkId: benchmarkId,
		GitRef:      gitRef,
		Result:      result,
		StartedAt:   startedAt,
	}
}
NewDetails creates a new Details.
package microbench
import (
	"fmt"
	"github.com/vitessio/arewefastyet/go/storage"
	"sort"
	"strconv"
	"strings"
	"time"
	"unicode"
	"github.com/dustin/go-humanize"
	"github.com/vitessio/arewefastyet/go/tools/math"
)
type (
	Result struct {
		Ops         float64
		NSPerOp     float64
		MBPerSec    float64
		BytesPerOp  float64
		AllocsPerOp float64
	}
	BenchmarkId struct {
		PkgName          string
		Name             string
		SubBenchmarkName string
	}
	Details struct {
		BenchmarkId
		GitRef    string
		StartedAt string
		Result    Result
	}
	Comparison struct {
		BenchmarkId
		Current, Last Result
		Diff Result
	}
	DetailsArray    []Details
	ComparisonArray []Comparison
)