C# Класс Nuve.Client.Benchmark.Benchmarker

Показать файл Открыть проект

Открытые методы

Метод Описание
TestMillionTimesWithSingleWord ( string word, Nuve.Lang.WordAnalyzer analyzer ) : void
TestWithAMillionTokens ( Func analyzeMethod ) : void

Test the speed with a million word corpus which includes same words many times

TestWithAMillionWords ( Func analyzeMethod ) : void

Test the speed with a million different word types

Приватные методы

Метод Описание
Process ( IEnumerable tokens, Func analyzeMethod ) : void

Описание методов

TestMillionTimesWithSingleWord() публичный статический Метод

public static TestMillionTimesWithSingleWord ( string word, Nuve.Lang.WordAnalyzer analyzer ) : void
word string
analyzer Nuve.Lang.WordAnalyzer
Результат void

TestWithAMillionTokens() публичный статический Метод

Test the speed with a million word corpus which includes same words many times
public static TestWithAMillionTokens ( Func analyzeMethod ) : void
analyzeMethod Func
Результат void

TestWithAMillionWords() публичный статический Метод

Test the speed with a million different word types
public static TestWithAMillionWords ( Func analyzeMethod ) : void
analyzeMethod Func
Результат void