loadtest

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

README

Loadtest

This is the loadtest known in the original Etherpad as Etherpad load test. The arguments changed so please run ./etherpad-go loadtest --help to see the available options.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunFromCLI

func RunFromCLI(logger *zap.SugaredLogger, args []string)

func RunMultiFromCLI

func RunMultiFromCLI(logger *zap.SugaredLogger, args []string)

func StartLoadTest

func StartLoadTest(logger *zap.SugaredLogger, host string, numAuthors, numLurkers int, duration int, loadUntilFail bool)

func StartMultiLoadTest

func StartMultiLoadTest(logger *zap.SugaredLogger, host string, maxPads int)

Types

type Metrics

type Metrics struct {
	ClientsConnected  int64
	AuthorsConnected  int64
	LurkersConnected  int64
	AppendSent        int64
	ErrorCount        int64
	AcceptedCommit    int64
	ChangeFromServer  int64
	NumConnectedUsers int64 // From server
	StartTime         time.Time
}

Jump to

Keyboard shortcuts

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