-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
performance improvement of find????Word
- Loading branch information
1 parent
afa0b27
commit 589adb5
Showing
5 changed files
with
230 additions
and
27 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
trie4j/benchmarks/20170720-2.6GHzCorei7-OSX10.11.6-jdk1.8.0_111.findWord.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- findShortestWord -- | ||
1892.181 ms in 100000call: org.trie4j.patricia.TailPatriciaTrie | ||
138.379 ms in 100000call: org.trie4j.patricia.OptTailPatriciaTrie | ||
2309.173 ms in 100000call: org.trie4j.doublearray.DoubleArray | ||
130.442 ms in 100000call: org.trie4j.doublearray.OptDoubleArray | ||
3084.871 ms in 100000call: org.trie4j.louds.TailLOUDSTrie | ||
523.670 ms in 100000call: org.trie4j.louds.OptTailLOUDSTrie | ||
2560.991 ms in 100000call: org.trie4j.louds.InlinedTailLOUDSTrie | ||
533.103 ms in 100000call: org.trie4j.louds.OptInlinedTailLOUDSTrie | ||
-- findLongestWord -- | ||
1613.162 ms in 100000call: org.trie4j.patricia.TailPatriciaTrie | ||
208.330 ms in 100000call: org.trie4j.patricia.OptTailPatriciaTrie | ||
2031.218 ms in 100000call: org.trie4j.doublearray.DoubleArray | ||
150.888 ms in 100000call: org.trie4j.doublearray.OptDoubleArray | ||
2679.538 ms in 100000call: org.trie4j.louds.TailLOUDSTrie | ||
586.631 ms in 100000call: org.trie4j.louds.OptTailLOUDSTrie | ||
2322.417 ms in 100000call: org.trie4j.louds.InlinedTailLOUDSTrie | ||
533.238 ms in 100000call: org.trie4j.louds.OptInlinedTailLOUDSTrie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters