I recall measuring LanguageTool startup time a long time ago.
I did it again for all versions from 4.1 (March 2018) to 2.1 (April 2013)
for various languages.
Here are the result (timings are in seconds):
version br ca fr de-DE en-US it nl eo es pl pt-PT ru
------- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
4.1 0.57 0.95 0.97 1.78 1.75 0.52 0.70 0.63 0.55 0.89 1.45 0.84
4.0 0.60 0.91 0.96 1.73 1.80 0.54 0.68 0.61 0.54 0.80 1.34 0.80
3.9 0.60 0.94 0.99 1.63 1.73 0.47 0.72 0.59 0.57 1.03 1.33 0.86
3.8 0.61 0.90 0.88 1.65 1.58 0.48 0.72 0.60 0.51 1.06 1.21 0.77
3.7 0.60 0.92 0.89 1.38 1.60 0.47 0.63 0.59 0.54 0.96 0.85 0.77
3.6 0.52 0.86 0.87 1.32 1.44 0.43 0.58 0.52 0.46 0.95 0.79 0.77
3.5 0.64 0.96 0.85 1.21 1.43 0.45 0.53 0.52 0.47 0.81 0.60 0.68
3.4 0.53 0.80 0.84 1.21 1.34 0.46 0.52 0.50 0.47 0.87 0.54 0.62
3.3 0.57 0.88 0.86 1.19 1.38 0.46 0.56 0.52 0.46 0.69 0.52 0.68
3.2 0.51 0.74 0.80 1.24 1.30 0.38 0.53 0.52 0.44 0.65 0.53 0.66
3.1 0.49 0.84 0.79 1.22 1.42 0.40 0.55 0.49 0.40 0.65 0.51 0.70
3.0 0.56 0.84 0.76 1.22 1.40 0.40 0.59 0.57 0.40 0.64 0.52 0.70
2.9 0.54 0.88 0.79 1.27 1.28 0.39 0.54 0.55 0.46 0.70 0.50 0.62
2.8 0.51 0.74 0.71 1.01 1.26 0.36 0.50 0.50 0.42 0.66 0.47 0.52
2.7 0.48 0.71 0.79 1.01 1.34 0.37 0.50 0.46 0.54 0.60 0.48 0.54
2.6 0.47 0.70 0.93 1.02 1.22 0.37 0.57 0.45 0.50 0.60 0.49 0.44
2.5 0.49 0.62 0.69 0.88 1.31 0.23 0.57 0.45 0.51 0.59 0.47 0.43
2.4 0.45 0.63 0.72 1.06 1.27 0.22 0.54 0.44 0.50 0.55 0.45 0.40
2.3 0.37 0.64 0.80 0.98 1.19 0.24 0.55 0.50 0.48 0.49 0.44 0.40
2.2 0.33 0.56 0.67 0.84 0.44 0.28 0.49 0.48 0.45 0.48 0.45 0.37
2.1 0.32 0.51 0.68 0.93 0.39 0.20 0.35 0.48 0.57 0.50 0.45 0.36
Here is another run to get an idea of how stable measurements are:
version br ca fr de-DE en-US it nl eo es pl pt-PT ru
------- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
4.1 0.62 0.97 0.88 1.76 1.62 0.49 0.74 0.60 0.56 0.89 1.36 0.86
4.0 0.66 1.02 1.05 1.93 1.86 0.50 0.78 0.65 0.63 0.98 1.55 0.94
3.9 0.63 1.00 0.99 1.67 1.88 0.57 0.68 0.67 0.58 0.90 1.43 0.87
3.8 0.64 0.96 0.93 1.70 1.75 0.48 0.63 0.58 0.52 0.89 1.39 0.87
3.7 0.67 1.02 1.05 1.58 1.76 0.54 0.63 0.61 0.51 1.14 0.84 0.81
3.6 0.60 0.95 0.93 1.40 1.47 0.45 0.55 0.54 0.45 0.80 0.77 0.77
3.5 0.59 0.88 0.86 1.30 1.43 0.48 0.63 0.56 0.45 0.84 0.60 0.75
3.4 0.59 0.82 0.87 1.34 1.43 0.42 0.55 0.54 0.45 0.89 0.53 0.63
3.3 0.59 0.87 0.78 1.25 1.47 0.40 0.58 0.51 0.46 0.87 0.60 0.75
3.2 0.57 0.73 0.84 1.34 1.40 0.42 0.60 0.57 0.46 0.77 0.51 0.73
3.1 0.52 0.87 0.75 1.23 1.39 0.41 0.57 0.50 0.41 0.64 0.50 0.73
3.0 0.54 0.86 0.78 1.26 1.35 0.46 0.59 0.51 0.46 0.67 0.49 0.71
2.9 0.56 0.93 0.83 1.29 1.40 0.44 0.52 0.54 0.44 0.69 0.55 0.71
2.8 0.54 0.81 0.72 1.01 1.23 0.42 0.51 0.46 0.45 0.61 0.50 0.55
2.7 0.52 0.68 0.76 1.19 1.24 0.46 0.49 0.51 0.59 0.66 0.50 0.53
2.6 0.49 0.65 0.97 1.10 1.30 0.42 0.60 0.50 0.49 0.60 0.43 0.41
2.5 0.45 0.73 0.69 1.04 1.26 0.25 0.53 0.48 0.52 0.57 0.51 0.45
2.4 0.49 0.66 0.73 1.01 1.25 0.21 0.52 0.57 0.50 0.59 0.50 0.46
2.3 0.36 0.58 0.83 1.02 1.28 0.22 0.56 0.46 0.49 0.54 0.45 0.42
2.2 0.38 0.55 0.69 0.87 0.46 0.21 0.53 0.43 0.47 0.51 0.41 0.40
2.1 0.30 0.55 0.77 0.92 0.52 0.20 0.39 0.47 0.54 0.51 0.42 0.36
It clearly shows a tendency for LT to become slower and slower
over time in some languages. Startup time approaching 2 seconds
is not nice.
I have a script that automates those measurements:
- It downloads and unzip zip files from Index of /download/
(then caches locally them for further runs) - it measure the time to run LT on an empty input, i.e. the
time it takes to run something like:
$ echo | java -jar languagetool-commandline.jar -c utf-8 -l en-US -
- it formats the results in a table as shown above
I can share the script but I don’t see a way to attach file in this forum.