Documentation ¶
Overview ¶
Package memorystress opens synthetic pages to create memory pressure.
Index ¶
Constants ¶
View Source
const ( AllocPageFilename = "memory_stress.html" JavascriptFilename = "memory_stress.js" )
Web page filenames to allocate a lot of JavaScript objects.
Variables ¶
This section is empty.
Functions ¶
func ReportTestCaseResult ¶
func ReportTestCaseResult(ctx context.Context, perfValues *perf.Values, result TestCaseResult, label string) error
ReportTestCaseResult writes the test case result to perfValues and prints the test case result.
Types ¶
type TestCaseResult ¶
type TestCaseResult struct {
// contains filtered or unexported fields
}
TestCaseResult is the result of a stress test case.
Click to show internal directories.
Click to hide internal directories.