traces

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: BSD-3-Clause Imports: 14 Imported by: 0

README

Cache performance report

go test -v -run Wikipedia
./visualize-request.sh request_wikipedia-*.txt
./visualize-size.sh size_wikipedia-*.txt
open out.svg

Traces

Name Source
Address University of California, San Diego
CPP Authors of the LIRS algorithm - retrieved from Cache2k
Glimpse Authors of the LIRS algorithm - retrieved from Cache2k
Multi2 Authors of the LIRS algorithm - retrieved from Cache2k
OLTP Authors of the ARC algorithm - retrieved from Cache2k
ORMBusy GmbH - retrieved from Cache2k
Sprite Authors of the LIRS algorithm - retrieved from Cache2k
Wikipedia WikiBench
YouTube University of Massachusetts
WebSearch University of Massachusetts

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Provide(ctx context.Context, keys chan<- interface{})
}

func NewAddressProvider

func NewAddressProvider(r io.Reader) Provider

NewAddressProvider returns a Provider with items are from application traces by the University of California, San Diego (http://cseweb.ucsd.edu/classes/fa07/cse240a/project1.html).

func NewCache2kProvider

func NewCache2kProvider(r io.Reader) Provider

NewCache2kProvider returns a Provider which items are from traces in Cache2k repository (https://github.com/cache2k/cache2k-benchmark).

func NewStorageProvider

func NewStorageProvider(r io.Reader) Provider

NewStorageProvider returns a Provider with items are from Storage traces by the University of Massachusetts (http://traces.cs.umass.edu/index.php/Storage/Storage).

func NewWikipediaProvider

func NewWikipediaProvider(r io.Reader) Provider

func NewYoutubeProvider

func NewYoutubeProvider(r io.Reader) Provider

func NewZipfProvider

func NewZipfProvider(s float64, num int) Provider

type Reporter

type Reporter interface {
	Report(cache.Stats, options)
}

func NewReporter

func NewReporter(w io.Writer) Reporter

Jump to

Keyboard shortcuts

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