Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Can't route multiple inputs to same phase in new-experiment format? #100

Open
dstoc opened this issue Jul 2, 2015 · 1 comment
Open

Comments

@dstoc
Copy link
Contributor

dstoc commented Jul 2, 2015

This didn't work:

digraph trace {

  subgraph cluster0 {
    fileToBuffer -> gunzipAndDecode -> jsonParse -> traceFilter -> tracePIDSplitter -> traceTIDSplitter -> traceTree;
    traceTree -> tracePrettyPrint;

    tracePrettyPrint -> toTag -> consoleOutput;
    toTag [tag="filename"]

    tracePrettyPrint -> consoleOutput;

    color=blue;
    strategy=pipeline;
  }

  input [data="/somewhere"]
  input -> readDir -> fileToBuffer;

  consoleOutput -> dummy;
  dummy [label="input"]


  traceFilter [traceEvents="['Document::updateStyle','V8.Execute','CSSParserImpl::parseStyleSheet']"];

  tracePrettyPrint [showTrace="false"];
}

Failed with:

TypeError: Cannot call method 'split' of undefined
    at Object.stageSpecificationToStage (/usr/local/google/ssd/repos/tree-builder-builder/core/stage-loader.js:47:20)
    at /usr/local/google/ssd/repos/tree-builder-builder/core/new-experiment.js:77:40
    at Array.map (native)
    at Object.impl (/usr/local/google/ssd/repos/tree-builder-builder/core/new-experiment.js:76:33)
    at /usr/local/google/ssd/repos/tree-builder-builder/core/stage-loader.js:92:19
    at /usr/local/google/ssd/repos/tree-builder-builder/core/stages.js:56:5
    at fs.js:258:14
    at /usr/local/google/ssd/repos/tree-builder-builder/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:104:5
    at Object.oncomplete (fs.js:97:15)
@shans
Copy link
Contributor

shans commented Aug 8, 2015

I think this is fixed now.

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

No branches or pull requests

2 participants