Repository navigation
Closed
Labels
kind/tech-requestNew feature or requestpriority/p0Critical feature that should be implemented in this version
Milestone
Description
Is there an existing issue for enhancement?
- I have checked the existing issues.
What would you like to be added ?
There are several issues I'd like to propose to be discussed & addressed
in the v0.6 cycle. It requires input from all devs.
1. Test two most recent versions of Go.
Two most recent versions of Go are officially supported by the Go team.
We should make sure that at least MO can be built using either of them.
Forcing users to upgrade to the latest version of Go won't help us
attracting more users/contributors.
2. Add benchmarks (using Go's testing.B) for all performance critical
components/paths.
This can help us to keep an eye on performance changes over time. We can
also use it to check unwanted memory allocations in those critical paths.
3. Have beta version of Go included in CI
We don't want surprises - the next Go release should be able to build MO
and there shouldn't be any significant performance regression when built
with the beta version of Go.
The later one is my major concern - if Go's internal changes are going to
cause significant performance regression in MO, we should raise the issue
during Go's beta period, otherwise the problem won't be addressed until
the next major release, that is 6 months waiting time.
4. Enable race test in BVT
We are currently running BVT using a normal build, we should be using a
debug build with race detector (-race) enabled.
I'd expect new race issues to be detected in such tests.
5. Speedup our slow tests
We want all tests can be executed in a few minutes maximum to ensure
good turnaround. Those tests that have to be slow should be marked as
slow tests, then we can run them separately in parallel or only run
them nightly.
6. Nightly tests
The first thing I'd like to add is to run unit tests & BVT tests many times during
such nightly tests as I saw different flaky tests during the weeks.
There will probably tons of other stuff we'd want to add to such nightly build &
tests as well.
7. ARM64 build & tests
We can get an ARM64 vm from AWS or Aliyun and run our ARM build & tests
there.
Why is this needed ?
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
kind/tech-requestNew feature or requestpriority/p0Critical feature that should be implemented in this version
Activity
sukki37 commentedon Jun 23, 2022
I would like to suggest another spec related to the configuring file :
sukki37 commentedon Jul 7, 2022
Integrate profiling tools into CI. @jinqinghui Pls add more details.
fengttt commentedon Jul 7, 2022
#3594 done, verified that both ut and bvt pass cleanly on AWS arm64 instance.