Anirban166 / data.table.threads

Other
2 stars 1 forks source link

Follow-up to #19 #20

Closed Anirban166 closed 1 month ago

Anirban166 commented 1 month ago

Includes:

I was skeptical about going with the second point at first since technically, it looks like it's working:

image

And I've also been finally getting results that extend beyond 2 for a 'Recommended' value (previously that was the max I got for some reason), for functions like forder for e.g.:

image

But logically, I agree with Toby's comments and reasoning as maximizing the difference like I did would not yield accurate results/points always.

AFAIU, for each function/expr I need to first filter the 'Measured' speedup/y-axis values that are greater (or it should be equal too as I think? ge should be the case imo) than the 'Recommended' speedup values (coming from the 0.5 slope line), find whichever value is the highest among them, and then collectively (with it's corresponding x-axis/threadCount value) assign it as the point of intersection.