Tests performance for
PhoneticEngine
.
See [CODEC-174] Improve performance of Beider Morse
encoder.
Results for November 7, 2013, project SVN revision 1539678.
Environment:
- java version "1.7.0_45"
- Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
- Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
- OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows")
- Time for encoding 80,000 times the input 'Angelo': 33,039 millis.
- Time for encoding 80,000 times the input 'Angelo': 32,297 millis.
- Time for encoding 80,000 times the input 'Angelo': 32,857 millis.
- Time for encoding 80,000 times the input 'Angelo': 31,561 millis.
- Time for encoding 80,000 times the input 'Angelo': 32,665 millis.
- Time for encoding 80,000 times the input 'Angelo': 32,215 millis.
On this file's revision 1539678, with patch CODEC-174-change-rules-storage-to-Map:
- Time for encoding 80,000 times the input 'Angelo': 18,196 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,858 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,644 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,591 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,861 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,696 millis.
Patch applied, committed revision 1539783.
On this file's revision 1539783, with patch CODEC-174-delete-subsequence-cache.patch:
- Time for encoding 80,000 times the input 'Angelo': 13,547 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,501 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,528 millis.
- Time for encoding 80,000 times the input 'Angelo': 17,110 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,910 millis.
- Time for encoding 80,000 times the input 'Angelo': 16,969 millis.
Patch not applied.
On this file's revision 1539787, with patch CODEC-174-reuse-set-in-PhonemeBuilder.patch:
- Time for encoding 80,000 times the input 'Angelo': 13,724 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,451 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,742 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,186 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,600 millis.
- Time for encoding 80,000 times the input 'Angelo': 16,405 millis.
Patch applied, committed revision 1539788.
Before patch https://issues.apache.org/jira/secure/attachment/12613371/CODEC-174-refactor-restrictTo-method-in-SomeLanguages.patch
- Time for encoding 80,000 times the input 'Angelo': 13,133 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,064 millis.
- Time for encoding 80,000 times the input 'Angelo': 12,838 millis.
- Time for encoding 80,000 times the input 'Angelo': 12,970 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,122 millis.
- Time for encoding 80,000 times the input 'Angelo': 13,293 millis.
After patch https://issues.apache.org/jira/secure/attachment/12613371/CODEC-174-refactor-restrictTo-method-in-SomeLanguages.patch
- Time for encoding 80,000 times the input 'Angelo': 11,576 millis.
- Time for encoding 80,000 times the input 'Angelo': 11,506 millis.
- Time for encoding 80,000 times the input 'Angelo': 11,361 millis.
- Time for encoding 80,000 times the input 'Angelo': 11,142 millis.
- Time for encoding 80,000 times the input 'Angelo': 11,430 millis.
- Time for encoding 80,000 times the input 'Angelo': 11,297 millis.
Patch applied, committed revision 1541234.