-
Notifications
You must be signed in to change notification settings - Fork 15
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
3.4-3.8 sprint planning #222
Comments
MVP Feature List Testing1. Login and Registration @LiusCraft
2. Posting and Editing Articles @Baihhh
3. Viewing Posts @xhyqaq
4. Video Playback @Baihhh
5. Translate Articles @IRONICBo
6. Yap API Interface Testing @IRONICBo
7. Media Resource Operations @xhyqaq
PRA Test1. User Information @LiusCraft
|
Troubleshooting found that the problem was caused by the slow Windows file system. Read the source code to find that go build recursively caches the folder and loads the contents of the file to calculate the hash value The test found that recursive files under Windows is a very slow behavior: package main
import (
"fmt"
"log"
"os"
"path/filepath"
"time"
)
func recursiveFiles(directory string) error {
err := filepath.Walk(directory, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if info.Mode().IsRegular() {
// fmt.Println(path)
}
return nil
})
return err
}
func main() {
start := time.Now()
directory := `go-build path`
err := recursiveFiles(directory)
if err != nil {
fmt.Println(err)
}
log.Printf("%.2f", time.Since(start).Seconds())
} |
read go source code: go build scope: |
test results(3/7 pass):
|
Test doc has moved to #259. |
3.4-3.8 sprint planning
Peer Review
Bug lists
Article
CI/CD processing
Go+ doc
goplus
doc generate, issue link: Go+ documentation gop#1755. @xhyqaqGo+ Vscode extensions
Go+ Engineering
gop version
feature Proposal: Remove the logic of using VERSION file to generategop version
or move it as the second choice after git tag gop#1702 @huangsihao7The text was updated successfully, but these errors were encountered: