Skip to content

Commit

Permalink
remove RelayProfiler from RelayResponseNormalizer.normalize
Browse files Browse the repository at this point in the history
Reviewed By: josephsavona

Differential Revision: D27566451

fbshipit-source-id: 77f54fccf7d04085fe0dc9a5a5c5bd11aa730081
  • Loading branch information
kassens authored and facebook-github-bot committed Apr 5, 2021
1 parent 24642d2 commit 6294195
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/relay-runtime/store/RelayResponseNormalizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

const RelayFeatureFlags = require('../util/RelayFeatureFlags');
const RelayModernRecord = require('./RelayModernRecord');
const RelayProfiler = require('../util/RelayProfiler');

const areEqual = require('areEqual');
const invariant = require('invariant');
Expand Down Expand Up @@ -898,9 +897,6 @@ class RelayResponseNormalizer {
}
}

const instrumentedNormalize: typeof normalize = RelayProfiler.instrument(
'RelayResponseNormalizer.normalize',
module.exports = {
normalize,
);

module.exports = {normalize: instrumentedNormalize};
};

0 comments on commit 6294195

Please sign in to comment.