Skip to content

Commit

Permalink
Trying to track down some benchmarking weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
kwxm committed May 9, 2024
1 parent 253004f commit d3443bf
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ defaultBuiltinCostModel :: BuiltinCostModel
defaultBuiltinCostModel =
$$(readJSONFromFile DFP.builtinCostModelFile)
-- This is a huge record, inlining it is wasteful.
{-# NOINLINE defaultBuiltinCostModel #-}

{- Note [Modifying the cost model]
When the Haskell representation of the cost model is changed, for example by
Expand Down Expand Up @@ -72,7 +71,6 @@ defaultCekMachineCosts =
-- We don't want this to get inlined, as otherwise the default 'CekMachineCosts' appears faster
-- than 'CekMachineCosts' that we get in production after applying the costing parameters provided
-- by the ledger.
{-# NOINLINE defaultCekMachineCosts #-}

{-| The default cost model, including both builtin costs and machine step costs.
Note that this is not necessarily the cost model in use on the chain at any
Expand Down

0 comments on commit d3443bf

Please sign in to comment.