felix

Results 19 comments of felix

untested example say I have a `karma.conf.js` that looks something like this: ```js module.exports = config => { config.set({ frameworks: ['chai', 'mocha', 'webpack'], plugins: ['karma-chai', 'karma-mocha', 'karma-webpack'], files: [ {...

Markdown also lets you end a line with \ to force a linebreak, which is less likely to get mangled in general.

I just ran into this problem. "Rerun Failed Tests" fails if the parameterized test name has a "/" in it. ```java @RunWith(Parameterized.class) public class ParaTest { @Parameterized.Parameters(name = "{0}") public...

I was looking at the specific case mentioned in #39, which is a toml file with 1000 [[tablearray]] clauses. For that, most of the time is in compile, specifically in...

Hi, @BinaryMuse, do you have time to look at this?

This looks like it's mostly compile() being slow, and I think the best fix is to rewrite it. @BinaryMuse do you mind if I rewrite compile.js? I'd probably also add...

ok, it looks like the grammar is slow. This is a benchmark on my laptop of parsing a realistic cargo.toml file from the Rust Cargo project: ``` parse cargo with...

pegjs doesn't generate very efficient parsers. In particular, every rule is a function call, So rules like: ``` line = S* expr:expression S* comment* (NL+ / EOF) S = [...

I've gotten part of the way to toml-j0.4 performance for the cargo.toml case just by refactoring the grammar. But there's a large performance gap that's due to toml-node calling line()...

#44 and #45 combined makes toml-node about half the speed of toml-j0.4 for parsing my cargo.toml test case. Also removing the pegjs `--cache` option will make toml-node about the same...