Bug introduced in 10.1
This bug was resolved in 10.2.0, but another bug was introduced in 10.3.0 persisting through 10.3.1 and finally resolved in 10.4
In Mathematica 10.1.0 and 10.3.0 BenchmarkPlot
from the GeneralUtilities package doesn't work and we shall focus on the situation of 10.1.0 here. Copying Taliesin Beynon's initial use of the function on this site:
Needs["GeneralUtilities`"]
myPosIdx[x_] := <|Thread[x[[#[[All, 1]]]] -> #]|> &@GatherBy[Range@Length@x, x[[#]] &];
This evaluates as follows in 10.1.0
BenchmarkPlot[{PositionIndex, myPosIdx}, RandomInteger[100, #] &, 16,
"IncludeFits" -> True]
SymbolName::sym: Argument {37,31,57,40,5,78,99,97,78,49,82,60,98,80,68,62} at position 1 is expected to be a symbol. >>
SymbolName::sym: Argument {37,31,57,40,5,78,99,97,78,49,82,60,98,80,68,62} at position 1 is expected to be a symbol. >>
SymbolName::sym: Argument {37,31,57,40,5,78,99,97,78,49,82,60,98,80,68,62} at position 1 is expected to be a symbol. >>
General::stop: Further output of SymbolName::sym will be suppressed during this calculation. >>
What went wrong and how do I fix it?