Strange time variance

Hi guys,
https://gist.github.com/santisy/40842eaf393356013fe60d30267007c0. As the code there. When I double the second dimension of the tensor, the time it costs also doubles. I don’t know what’s the reason. Is this behavior expected? Is there a way to make the time even for different tensor size? I use the binary from the official website