float

package
v0.0.0-...-cd097ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFFTWorkload

func NewFFTWorkload() bench.Workload

NewFFTWorkload returns the default FFT workload.

func NewMandelbrotWorkload

func NewMandelbrotWorkload() bench.Workload

NewMandelbrotWorkload returns the default Mandelbrot workload.

func NewMatMulWorkload

func NewMatMulWorkload() bench.Workload

NewMatMulWorkload returns the default matrix multiplication workload.

func NewNBodyWorkload

func NewNBodyWorkload() bench.Workload

NewNBodyWorkload returns the default n-body workload.

func NewRayTracerWorkload

func NewRayTracerWorkload() bench.Workload

NewRayTracerWorkload returns the default ray tracing workload.

Types

type FFTWorkload

type FFTWorkload struct {
	// contains filtered or unexported fields
}

FFTWorkload benchmarks an iterative radix-2 FFT over complex128 samples.

func (*FFTWorkload) Category

func (w *FFTWorkload) Category() string

func (*FFTWorkload) Clone

func (w *FFTWorkload) Clone() bench.Workload

func (*FFTWorkload) Description

func (w *FFTWorkload) Description() string

func (*FFTWorkload) Name

func (w *FFTWorkload) Name() string

func (*FFTWorkload) ProcessedKind

func (*FFTWorkload) ProcessedKind() bench.ProcessedKind

func (*FFTWorkload) Run

func (*FFTWorkload) Throughput

func (w *FFTWorkload) Throughput(processed int64, elapsed time.Duration) (float64, string)

func (*FFTWorkload) Validate

func (w *FFTWorkload) Validate() error

type MandelbrotWorkload

type MandelbrotWorkload struct {
	// contains filtered or unexported fields
}

MandelbrotWorkload benchmarks Mandelbrot set iteration counts over a large grid.

func (*MandelbrotWorkload) Category

func (w *MandelbrotWorkload) Category() string

func (*MandelbrotWorkload) Clone

func (w *MandelbrotWorkload) Clone() bench.Workload

func (*MandelbrotWorkload) Description

func (w *MandelbrotWorkload) Description() string

func (*MandelbrotWorkload) Name

func (w *MandelbrotWorkload) Name() string

func (*MandelbrotWorkload) ProcessedKind

func (*MandelbrotWorkload) ProcessedKind() bench.ProcessedKind

func (*MandelbrotWorkload) Run

func (*MandelbrotWorkload) Throughput

func (w *MandelbrotWorkload) Throughput(processed int64, elapsed time.Duration) (float64, string)

func (*MandelbrotWorkload) Validate

func (w *MandelbrotWorkload) Validate() error

type MatMulWorkload

type MatMulWorkload struct {
	// contains filtered or unexported fields
}

MatMulWorkload benchmarks blocked matrix multiplication on float64 matrices.

func (*MatMulWorkload) Category

func (w *MatMulWorkload) Category() string

func (*MatMulWorkload) Clone

func (w *MatMulWorkload) Clone() bench.Workload

func (*MatMulWorkload) Description

func (w *MatMulWorkload) Description() string

func (*MatMulWorkload) Name

func (w *MatMulWorkload) Name() string

func (*MatMulWorkload) ProcessedKind

func (*MatMulWorkload) ProcessedKind() bench.ProcessedKind

func (*MatMulWorkload) Run

func (*MatMulWorkload) Throughput

func (w *MatMulWorkload) Throughput(processed int64, elapsed time.Duration) (float64, string)

func (*MatMulWorkload) Validate

func (w *MatMulWorkload) Validate() error

type NBodyWorkload

type NBodyWorkload struct {
	// contains filtered or unexported fields
}

NBodyWorkload benchmarks a deterministic n-body simulation.

func (*NBodyWorkload) Category

func (w *NBodyWorkload) Category() string

func (*NBodyWorkload) Clone

func (w *NBodyWorkload) Clone() bench.Workload

func (*NBodyWorkload) Description

func (w *NBodyWorkload) Description() string

func (*NBodyWorkload) Name

func (w *NBodyWorkload) Name() string

func (*NBodyWorkload) ProcessedKind

func (*NBodyWorkload) ProcessedKind() bench.ProcessedKind

func (*NBodyWorkload) Run

func (*NBodyWorkload) Throughput

func (w *NBodyWorkload) Throughput(processed int64, elapsed time.Duration) (float64, string)

func (*NBodyWorkload) Validate

func (w *NBodyWorkload) Validate() error

type RayTracerWorkload

type RayTracerWorkload struct {
	// contains filtered or unexported fields
}

RayTracerWorkload benchmarks a small recursive ray tracer.

func (*RayTracerWorkload) Category

func (w *RayTracerWorkload) Category() string

func (*RayTracerWorkload) Clone

func (w *RayTracerWorkload) Clone() bench.Workload

func (*RayTracerWorkload) Description

func (w *RayTracerWorkload) Description() string

func (*RayTracerWorkload) Name

func (w *RayTracerWorkload) Name() string

func (*RayTracerWorkload) ProcessedKind

func (*RayTracerWorkload) ProcessedKind() bench.ProcessedKind

func (*RayTracerWorkload) Run

func (*RayTracerWorkload) Throughput

func (w *RayTracerWorkload) Throughput(processed int64, elapsed time.Duration) (float64, string)

func (*RayTracerWorkload) Validate

func (w *RayTracerWorkload) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL