You can make your own speed check on anything you want. It's very easy and saves having others do it for you.
A basic speed check looks like this:
alias speedcheck1 {
var %ticks = $ticks, %c = 1
while(%c <= 20000) {
if (1 = 1) { var %t = 1 }
inc %c
}
echo -a Time: $calc($ticks - %ticks)
}
alias speedcheck1 {
var %ticks = $ticks, %c = 1
while(%c <= 20000) {
if (1 = 1) var %t = 1
inc %c
}
echo -a Time: $calc($ticks - %ticks)
}
The only change is the IF line. Run those 2 and you'll get the difference between using or not using {}'s in that line. Replace the line with other comparisons as needed. Note that the time echoed at the end is in miliseconds, but it doesn't really matter... you're just looking to see a difference. Note that you should always run the tests multiple times to get an accurate result.
EDIT: What you use for the IF line doesn't really matter. It's just a command that you put there to compare with. As you were asking about {}'s, it just needed a command that could be used with or without {}'s, so I used the IF. As long as it's the same thing other than what you're comparing, it can be just about anything and can be multiple lines.