Sam Sneddon

Results 219 issues of Sam Sneddon

It would be interesting to investigate use of instruction counts (through Linux's perf module and similar tools on other platforms to access hardware performance counters) within pyperf. See, for example,...

Playing around with pyperf, I can't help but think I'm going to end up reimplementing/importing a bunch of the pyperformance code around venvs. When testing performance of almost any Python...

For some uses, it would be nice to measure CPU time rather than wall-clock time.

https://groups.google.com/forum/#!searchin/mozilla.dev.platform/%22Intent$20to%22$20%22layout$20api%22%7Csort:date doesn't find anything, and I can't find any evidence of there ever being any intent to implement? The bug definitely doesn't count as a signal; anyone can file a...

Currently, the output is indistinguishable from `assert_eq!`'s: ``` thread 'bsf::tests::score_examples' panicked at 'assert_ulps_eq!(scores[0], 590.0798357956826, max_ulps = 1) left = 590.0798357956824 right = 590.0798357956826 ', src/bsf.rs:354:9 ``` It would be nicer...

``` from funcparserlib.lexer import make_tokenizer from funcparserlib.parser import some tokenize = make_tokenizer([ (u'x', (ur'x',)), ]) some(lambda t: t.type == "x").parse(tokenize("x")) ``` results in ``` Traceback (most recent call last): File...

``` tokenize = make_tokenizer([ (u'x', (br'\xff\n',)), ]) tokens = list(tokenize(b"\xff\n")) ``` throws ``` File "/Users/gsnedders/Documents/other-projects/funcparserlib/funcparserlib/funcparserlib/tests/test_parsing.py", line 76, in test_tokenize_bytes tokens = list(tokenize(b"\xff\n")) File "/Users/gsnedders/Documents/other-projects/funcparserlib/funcparserlib/funcparserlib/lexer.py", line 107, in f t =...

I've ended up with something like: ``` header = some(lambda tok: tok.type == "HEADER") data = some(lambda tok: tok.type == "DATA") empty_line = some(lambda tok: tok.type == "EMPTY") body =...

tests for https://github.com/w3c/csswg-drafts/issues/1088 these should be moved somewhere better once we know what directory to put them in

wg-css
css-values
status:needs-spec-decision

Allow these steps to run even if the job has already failed; this means we should always try to run the infrastructure tests for each browser even if an earlier...

Azure Pipelines