public class PerformanceMeasuringProcess
extends stream.runtime.DefaultProcess
You can use it like this:
The output will be written to the json file specified by the url parameter.
Created by Alexey and Kai on 27.05.15.
Modifier and Type | Field and Description |
---|---|
stream.io.SourceURL |
url |
int |
warmupIterations |
Constructor and Description |
---|
PerformanceMeasuringProcess() |
Modifier and Type | Method and Description |
---|---|
void |
finish() |
void |
init(stream.runtime.ApplicationContext context) |
stream.Data |
process(stream.Data data) |
@Parameter(required=false, description="Url to the .json file where the performance numbers are stored") public stream.io.SourceURL url
@Parameter(required=false, description="Number of warmup iterations to be performed before measuring time") public int warmupIterations
public void init(stream.runtime.ApplicationContext context) throws Exception
init
in interface stream.Process
init
in class stream.runtime.AbstractProcess
Exception
public stream.Data process(stream.Data data)
process
in class stream.runtime.AbstractProcess
Copyright © 2019. All rights reserved.