Class ReadTokensTask
Simple task to test performance of tokenizers. It just creates a token stream for each field of the document and read all tokens out of that stream.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class ReadTokensTask : PerfTask, IDisposable
Constructors
| Improve this Doc View SourceReadTokensTask(PerfRunData)
Declaration
public ReadTokensTask(PerfRunData runData)
Parameters
Type | Name | Description |
---|---|---|
PerfRunData | runData |
Methods
| Improve this Doc View SourceDoLogic()
Declaration
public override int DoLogic()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceGetLogMessage(Int32)
Declaration
protected override string GetLogMessage(int recsCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | recsCount |
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceSetup()
Declaration
public override void Setup()
Overrides
| Improve this Doc View SourceTearDown()
Declaration
public override void TearDown()
Overrides
Implements
System.IDisposable