tests

package
v3.11.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkStoreConcurrentAccess added in v3.7.1

func BenchmarkStoreConcurrentAccess(b *testing.B, store limiter.Store)

BenchmarkStoreConcurrentAccess executes a benchmark against a store with parallel setting.

func BenchmarkStoreSequentialAccess added in v3.7.1

func BenchmarkStoreSequentialAccess(b *testing.B, store limiter.Store)

BenchmarkStoreSequentialAccess executes a benchmark against a store without parallel setting.

func TestStoreConcurrentAccess

func TestStoreConcurrentAccess(t *testing.T, store limiter.Store)

TestStoreConcurrentAccess verify that store works as expected with a concurrent access.

func TestStoreSequentialAccess

func TestStoreSequentialAccess(t *testing.T, store limiter.Store)

TestStoreSequentialAccess verify that store works as expected with a sequential access.

Types

This section is empty.

Jump to

Keyboard shortcuts

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