Add benchmarks; fix boxing error for value types.