-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript-measure-time-startup.ps1
32 lines (25 loc) · 1.13 KB
/
script-measure-time-startup.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
echo jsmigemo
$a = "node migemo/jsmigemo-cli.js -d dict/migemo-compact-dict -w kensaku"
(Measure-Command {invoke-expression $a | Out-Null}).TotalMilliseconds
echo jmigemo
$a = "java -jar migemo/jmigemo-cli.jar -d dict/migemo-compact-dict -w kensaku"
(Measure-Command {invoke-expression $a | Out-Null}).TotalMilliseconds
echo gomigemo
$a = "migemo/gomigemo.exe -d dict/migemo-compact-dict -w kensaku"
(Measure-Command {invoke-expression $a | Out-Null}).TotalMilliseconds
echo rustmigemo
$a = "migemo/rustmigemo.exe -d dict/migemo-compact-dict -w kensaku"
(Measure-Command {invoke-expression $a | Out-Null}).TotalMilliseconds
echo cmigemo
$a = "migemo/cmigemo/cmigemo.exe -w kensaku"
(Measure-Command {invoke-expression $a | Out-Null}).TotalMilliseconds
echo rustmigemo-wasm
$a = "node .\migemo\rustmigemo-wasm-cli.js -d dict/migemo-compact-dict -w kensaku"
(Measure-Command {invoke-expression $a | Out-Null}).TotalMilliseconds
echo pymigemo
cd migemo
$a = "python -m pymigemo -w kensaku"
(Measure-Command {invoke-expression $a | Out-Null}).TotalMilliseconds
cd ..
echo csmigemo
(Measure-Command {"" | migemo/csmigemo/CsMigemo | Out-Null}).TotalMilliseconds