Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

feat(pipe): add timing information and clean up function name reporting #334

Merged
merged 1 commit into from
May 27, 2019

Conversation

tripodsan
Copy link
Contributor

fixes #333

@codecov
Copy link

codecov bot commented May 21, 2019

Codecov Report

Merging #334 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #334   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          45     46    +1     
  Lines         999   1022   +23     
=====================================
+ Hits          999   1022   +23
Impacted Files Coverage Δ
src/defaults/json.pipe.js 100% <100%> (ø) ⬆️
src/utils/timing.js 100% <100%> (ø)
src/defaults/xml.pipe.js 100% <100%> (ø) ⬆️
src/defaults/html.pipe.js 100% <100%> (ø) ⬆️
src/pipeline.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 55c6ac3...b96467c. Read the comment docs.

@@ -324,10 +324,10 @@ class Pipeline {
*/
const execTaps = async (taps, fnIdent, fnIdx) => {
for (const [idx, t] of iter(taps)) {
const ident = getident(t, 'tap', idx);
logger.silly(`exec ${ident} before ${fnIdent}`);
const ident = `#${String(fnIdx).padStart(2, '0')}/${fnIdent}/tap-#${idx}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may take that opportunity to fix the type: ident => indent

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ident as in identifier is correct.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry, misread the code. I thought this was computing indentation 🤦‍♂

@tripodsan tripodsan merged commit bf6c779 into master May 27, 2019
@tripodsan tripodsan deleted the timing branch May 27, 2019 05:29
adobe-bot pushed a commit that referenced this pull request May 27, 2019
# [2.1.0](v2.0.0...v2.1.0) (2019-05-27)

### Features

* **pipe:** add timing information and clean up function name reporting ([#334](#334)) ([bf6c779](bf6c779)), closes [#333](#333)
@adobe-bot
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pipeline processing timing information
3 participants