x/text/cmd/gotext: update command too slow #49039
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Ran the following command:
$GOPATH/bin/gotext -srclang=en update -out=i18n_messages/catalog.go -lang=en,zh_CN,zh_TW,fr,de,it,ja,pt_BR,es,ko 2>&1
It took between 30 to 40 minutes on my vm that has 8G memory, 2.1GH dual CPU and 100G disk space.
There are about 2000 messages need to be translated in the code. 9 languages + english.
Here is our repo: https://github.com/open-horizon/anax
What did you expect to see?
We expect this should be finished within a few minutes.
What did you see instead?
It takes 30 to 40 minutes.
The text was updated successfully, but these errors were encountered: