Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 18, 2018 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/47ec7d3860f27b3c7ff0a2464480376e to your computer and use it in GitHub Desktop.
Save Whateverable/47ec7d3860f27b3c7ff0a2464480376e to your computer and use it in GitHub Desktop.
bisectable6
old=2017.07 https://gist.github.com/AlexDaniel/1a3628cc4ebc8cfb0fd68260c371047f
Bisecting: 1248 revisions left to test after this (roughly 10 steps)
[21555412b1c3a0fe24279e5039742cb51dfbd5a9] Remove extraneous comma in test description
»»»»» Testing 21555412b1c3a0fe24279e5039742cb51dfbd5a9
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 96669c6b0b98624e67a6b957e635523b72c08297
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 35916427b6a4dd15380cacf7f79662f61a056e78
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bd4094e24ba281cae6d94a29327dd44c1e10c7c5
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 59e5564629bc6fde27a90ea36ae38746f99dcd31
»»»»» Script output:
ok 1 - CryptoSecretBox.encrypt
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5f68c775271b1f9be28249fcedbe497d82f0b899
»»»»» Script output:
ok 1 - CryptoSecretBox.encrypt
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing da4a0f50ac0a00332920e330b062d03543290fd6
»»»»» Script output:
ok 1 - CryptoSecretBox.encrypt
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c59b986785fe17f53e1664af1aa60e785ff31624
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f590863e1736c75207c9ce0335ea646e3529060e
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a91ad2da854831a7a38c1d291c277191e6f9bb4b
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 46ef1b5b48dd51a47a7de70d4740bcea9779a104
»»»»» Script output:
Type check failed in binding to parameter '<anon>'; expected NativeCall::Types::CArray[int8] but got NativeCall::Types::CA...
in sub crypto_secretbox_int at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 120
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 178
in method encrypt at /home/bisectable/git/whateverable/sandbox/perl6-tweetnacl/lib/Crypt/TweetNacl/SecretKey.pm6 (Crypt::TweetNacl::SecretKey) line 188
in block <unit> at sandbox/x.pm6 line 129
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
46ef1b5b48dd51a47a7de70d4740bcea9779a104 is the first new commit
commit 46ef1b5b48dd51a47a7de70d4740bcea9779a104
Author: Stefan Seifert <nine@detonation.org>
Date: Mon Aug 7 11:49:03 2017 +0200
Speed up NativeCall by replacing the subroutine code in setup
Instead of overriding the subroutine's code via a CALL-ME method, we
replace the subroutine's code object ($!do) with the native calling code
in !setup. This saves the check for $!setup on each call and probably
makes the call cheaper in general.
:040000 040000 69d2411c6f8abf7aab3a7d77353facae87c93db4 1c29e170cde671fc74d8a3bec402573e79cd4d0c M lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment