Skip to content

expression: implement vectorized evaluation for builtinAtan1ArgSig#12227

Merged
sre-bot merged 7 commits intopingcap:masterfrom
jacklightChen:Atan1ArgSig
Sep 17, 2019
Merged

expression: implement vectorized evaluation for builtinAtan1ArgSig#12227
sre-bot merged 7 commits intopingcap:masterfrom
jacklightChen:Atan1ArgSig

Conversation

@jacklightChen
Copy link
Contributor

What problem does this PR solve?

implement vectorized evaluation for builtinAsinSig, for #12105

What is changed and how it works?

according to benchmark, about 4 times faster than before:

BenchmarkVectorizedBuiltinMathFunc/builtinAtan1ArgSig-VecBuiltinFunc-8            200000             10782 ns/op            0 B/op          0 allocs/op
BenchmarkVectorizedBuiltinMathFunc/builtinAtan1ArgSig-NonVecBuiltinFunc-8          50000             26905 ns/op            0 B/op          0 allocs/op

Check List

Tests

  • Unit test

@sre-bot sre-bot added the contribution This PR is from a community contributor. label Sep 17, 2019
@codecov
Copy link

codecov bot commented Sep 17, 2019

Codecov Report

Merging #12227 into master will decrease coverage by 0.0934%.
The diff coverage is 63.6363%.

@@               Coverage Diff               @@
##             master    #12227        +/-   ##
===============================================
- Coverage   81.1815%   81.088%   -0.0935%     
===============================================
  Files           454       454                
  Lines         98770     98451       -319     
===============================================
- Hits          80183     79832       -351     
- Misses        12829     12855        +26     
- Partials       5758      5764         +6

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zz-jason zz-jason added component/expression status/LGT1 Indicates that a PR has LGTM 1. labels Sep 17, 2019
@zz-jason zz-jason requested a review from qw4990 September 17, 2019 11:31
Reminiscent
Reminiscent previously approved these changes Sep 17, 2019
Copy link
Contributor

@Reminiscent Reminiscent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Reminiscent Reminiscent added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Sep 17, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Sep 17, 2019

/run-all-tests

@Reminiscent Reminiscent removed the request for review from qw4990 September 17, 2019 12:23
@Reminiscent
Copy link
Contributor

/run-all-tests

zz-jason
zz-jason previously approved these changes Sep 17, 2019
@jacklightChen
Copy link
Contributor Author

/run-all-tests

@zz-jason
Copy link
Member

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Sep 17, 2019

/run-all-tests

@sre-bot sre-bot merged commit 72c1dbc into pingcap:master Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/expression contribution This PR is from a community contributor. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants