-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expression: support for testing a single vectorized evaluation function #12153
Conversation
Co-Authored-By: Yuanjia Zhang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #12153 +/- ##
===========================================
Coverage 81.1232% 81.1232%
===========================================
Files 454 454
Lines 98608 98608
===========================================
Hits 79994 79994
Misses 12850 12850
Partials 5764 5764 |
# Conflicts: # expression/bench_test.go
@lamxTyler Update. PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
@Reminiscent merge failed. |
/run-unit-test |
What problem does this PR solve?
Support for testing a single vectorized evaluation function.
What is changed and how it works?
Use
go test -args
to decide the test which function signature you want to run.For example, if you want to test the
builtinLog10Sig
andbuiltinSqrtSig
. You can inputgo test -v -benchmem -bench=BenchmarkVectorizedBuiltinMathFunc -run=BenchmarkVectorizedBuiltinMathFunc -args "builtinLog10Sig" "builtinSqrtSig"
. Just input the function signature behind the "-args" flag. If you want to run all of the test, just ignore the "-args" flag.Check List
Tests