generators

package
v0.0.0-...-fddb751 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BiogoIgor

func BiogoIgor() common.Generator

func BiogoKrishna

func BiogoKrishna() common.Generator

func BleveIndex

func BleveIndex() common.Generator

func GopherLua

func GopherLua() common.Generator

func Markdown

func Markdown() common.Generator

Types

type GVisor

type GVisor struct{}

GVisor is a dynamic assets Generator for the gvisor benchmark.

func (GVisor) Generate

func (GVisor) Generate(cfg *common.GenConfig) error

Generate builds binaries for workloads that will run under gVisor as part of the benchmark. The sources for these workloads live in the source assets directory and are relatively short Go programs.

It also copies over static assets which are necessary to run the benchmarks.

type None

type None struct{}

None is a Generator that does nothing.

func (None) Generate

func (None) Generate(_ *common.GenConfig) error

Generate does nothing.

type Tile38

type Tile38 struct{}

Tile38 is a dynamic assets Generator for the tile38 benchmark.

func (Tile38) Generate

func (Tile38) Generate(cfg *common.GenConfig) error

Generate starts from static assets to generate a persistent store for Tile38 that will be passed to the server for benchmarking.

The persistent store is created from gen-data/allCountries.txt, which is a TSV file listing points of interest around the globe, and gen-data/countries.geojson, which is a GeoJSON file that describe countries' borders. Both of these are used to populate a running Tile38 server which is downloaded and built on the fly, using the same version of Tile38 that will be benchmarked.

The resulting persistent store is placed in the data directory in the output directory.

This generator also copies over the static assets used to generate the dynamic assets.

Jump to

Keyboard shortcuts

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