You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you a lot for this great gem. Being inspired, I build a very similar one, with some differences in syntax and features. While doing so, I noticed a huge performance drop in the latest version of rubype.
You might consider using the times form for benchmark-ips, shown below (reproduced from the readme). The results when operations are small are often different:
# To reduce overhead, the number of iterations is passed in
# and the block must run the code the specific number of times.
# Used for when the workload is very small and any overhead
# introduces incorrectable errors.
x.report("addition2") do |times|
i = 0
while i < times
1 + 2
i += 1
end
end
@janlelis hi! Looking at your great gem sig, I'm inspired as well. Sig has many interesting features or implementations which Rubype doesn't have.
I'm gonna steal some of them ;)
First of all, thank you a lot for this great gem. Being inspired, I build a very similar one, with some differences in syntax and features. While doing so, I noticed a huge performance drop in the latest version of rubype.
Here is a benchmark using rubype 0.2.5:
And here one using rubype 0.2.6:
The code used for the benchmark: https://github.com/janlelis/sig/blob/v1.0.0/Rakefile#L32-L131
The text was updated successfully, but these errors were encountered: