From 123e48614bd3ce4e350e71e6f0506fff856f3135 Mon Sep 17 00:00:00 2001 From: Judah Jacobson Date: Wed, 19 Dec 2018 20:53:16 -0800 Subject: [PATCH] Fix incorrect types in the packing benchmark. (#297) Typos in #277; the benchmark names and proto types didn't match up. --- proto-lens-benchmarks/benchmarks/Packing.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proto-lens-benchmarks/benchmarks/Packing.hs b/proto-lens-benchmarks/benchmarks/Packing.hs index e370c241..4bf05734 100644 --- a/proto-lens-benchmarks/benchmarks/Packing.hs +++ b/proto-lens-benchmarks/benchmarks/Packing.hs @@ -24,13 +24,13 @@ benchmaker size = -- (less likely for the legend to overlap results) if smaller results -- are first. [ protoBenchmark "int32-packed" - (defMessage & num .~ replicate size 5 ::Int32Unpacked) + (defMessage & num .~ replicate size 5 :: Int32Packed) , protoBenchmark "int32-unpacked" - (defMessage & num .~ replicate size 5 ::Int32Packed) + (defMessage & num .~ replicate size 5 :: Int32Unpacked) , protoBenchmark "float-packed" (defMessage & num .~ replicate size 5 :: FloatPacked) , protoBenchmark "float-unpacked" - (defMessage & num .~ replicate size 5 :: FloatPacked) + (defMessage & num .~ replicate size 5 :: FloatUnpacked) ] main :: IO ()