-module(test2). %% This is basically the same operation as test1 without list %% manipulation. %% This is intended to check where is the bottleneck -export([run/0, loop/1]). run() -> timer:tc(?MODULE, loop, [100000000]). loop(0) -> ok; loop(Count) -> 1.0 * 1.234, loop(Count -1).