Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 17, 2016 10:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Whateverable/c8804ae8cbbe7200f73542cfd72517d0 to your computer and use it in GitHub Desktop.
bisectable
good=2015.12 bad=b06a99ebdd79393ce109cc214a6019ada5a0218a my int $i = 10; say Buf.new($i +& 0xFF)
Bisecting: 738 revisions left to test after this (roughly 10 steps)
[d1eeb3829f0a5930955e5bf587fc6da0aae697c6] Merge pull request #740 from usev6/patch-1
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing d1eeb3829f0a5930955e5bf587fc6da0aae697c6
»»»»» Script output:
Buf:0x<0a>
»»»»» Script exit code: 0
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 369 revisions left to test after this (roughly 9 steps)
[51e1a27509cac418e7c28502bcf8349d8acb6c3a] Make List.from-slurpy-flat about 10% faster
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing 51e1a27509cac418e7c28502bcf8349d8acb6c3a
»»»»» Script output:
Buf:0x<0a>
»»»»» Script exit code: 0
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 184 revisions left to test after this (roughly 8 steps)
[2a84504d229f4824b41babe11a05acc58ac7cce9] Streamline the remaining Seq
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing 2a84504d229f4824b41babe11a05acc58ac7cce9
»»»»» Script output:
Buf:0x<0a>
»»»»» Script exit code: 0
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 94 revisions left to test after this (roughly 7 steps)
[83825205f396b516ba8843e82e4c02245322fac6] Merge pull request #819 from zoffixznet/revert-ver
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing 83825205f396b516ba8843e82e4c02245322fac6
»»»»» Script output:
Buf:0x<0a>
»»»»» Script exit code: 0
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 47 revisions left to test after this (roughly 6 steps)
[c7332c0c3059c4678fc1da8e17bb3ce9a37765d3] Only record a dependency once per precomp file
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing c7332c0c3059c4678fc1da8e17bb3ce9a37765d3
»»»»» Script output:
Type check failed in initializing element #0 to Buf; expected uint8 but got Int (10)
in any at gen/moar/m-Metamodel.nqp line 1736
in block <unit> at /tmp/fDlr93HxgA line 1
Actually thrown at:
in any at gen/moar/m-Metamodel.nqp line 3055
in any at gen/moar/m-Metamodel.nqp line 1736
in block <unit> at /tmp/fDlr93HxgA line 1
»»»»» Script exit code: 1
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 23 revisions left to test after this (roughly 5 steps)
[9bb63661423e9097cb73ad0ac8bcd48bf7257acf] Merge pull request #821 from tbrowder/pod-handling-cleanup
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing 9bb63661423e9097cb73ad0ac8bcd48bf7257acf
»»»»» Script output:
Buf:0x<0a>
»»»»» Script exit code: 0
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 11 revisions left to test after this (roughly 4 steps)
[2ad32393e269d46acaedd6a28277af86038e21da] Make Reifier.reify-all about 20% faster
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing 2ad32393e269d46acaedd6a28277af86038e21da
»»»»» Script output:
Buf:0x<0a>
»»»»» Script exit code: 0
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
Bisecting: 5 revisions left to test after this (roughly 3 steps)
[362536920e627a1f0a5c00be42880a065c8186fc] min/max on Failure must fail, not return ±Inf
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing 362536920e627a1f0a5c00be42880a065c8186fc
»»»»» Script output:
Type check failed in initializing element #0 to Buf; expected uint8 but got Int (10)
in any at gen/moar/m-Metamodel.nqp line 1736
in block <unit> at /tmp/fDlr93HxgA line 1
Actually thrown at:
in any at gen/moar/m-Metamodel.nqp line 3055
in any at gen/moar/m-Metamodel.nqp line 1736
in block <unit> at /tmp/fDlr93HxgA line 1
»»»»» Script exit code: 1
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[de5d9e70cbfe678d2371d284e9384f53aba1eb94] Re-imagine List.from-slurpy-flat
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing de5d9e70cbfe678d2371d284e9384f53aba1eb94
»»»»» Script output:
Type check failed in initializing element #0 to Buf; expected uint8 but got Int (10)
in any at gen/moar/m-Metamodel.nqp line 1736
in block <unit> at /tmp/fDlr93HxgA line 1
Actually thrown at:
in any at gen/moar/m-Metamodel.nqp line 3055
in any at gen/moar/m-Metamodel.nqp line 1736
in block <unit> at /tmp/fDlr93HxgA line 1
»»»»» Script exit code: 1
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[a02fdbe2d928026c6273825d865354f19f5acc42] Make Code.arity|count 2x as fast
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/fDlr93HxgA
»»»»» Testing a02fdbe2d928026c6273825d865354f19f5acc42
»»»»» Script output:
Buf:0x<0a>
»»»»» Script exit code: 0
»»»»» Plain bisect, using the same exit code
»»»»» Final exit code: 0
»»»»» -------------------------------------------------------------------------
de5d9e70cbfe678d2371d284e9384f53aba1eb94 is the first bad commit
commit de5d9e70cbfe678d2371d284e9384f53aba1eb94
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Mon Jul 11 00:34:02 2016 +0200
Re-imagine List.from-slurpy-flat
It struck me that if a sub has a slurpy array, and the values specified
are all simple scalars without any additional Slippy/Iterable functionality,
that the $!future created (which is the $!todo of the List/Array to be)
is in fact already what $!reified will be in the end. So in that case
we can just put the $!future into $!reified, and we're done:
sub a(*@a) { }; a(1,2,3,4);
sees an improvement of 30% compared to a(), and 3 allocations less.
This spectests clean. But this is the area of dragons, so there may
be some ecosystem fallout. In that case, just revert this commit.
:040000 040000 73535221cce0a3fa5ef4defc52360b9667955af2 a99c9b738ef1e6bf77f8984f452f35f3abfa97c7 M src
bisect run success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment