Skip to content

bytes: tests are slow on arm #29001

@alexbrainman

Description

@alexbrainman

I was watching windows/arm build output, and I noticed that bytes package tests are pretty slow

https://farmer.golang.org/temporarylogs?name=windows-arm&rev=311d87dbebbb0238196d3aa13fd9a37f655e1fc3&st=0xc4704774a0

ok  	bytes	146.447s

and then I looked at linux/arm too, and it is slow too

https://farmer.golang.org/temporarylogs?name=linux-arm&rev=311d87dbebbb0238196d3aa13fd9a37f655e1fc3&st=0xc4576f58c0

ok  	bytes	121.089s

I just felt sorry for the builders, and decided to create this issue.

I run byte tests here, and they are fast

c:\>go test -count=1 bytes
ok      bytes   1.106s

I also did not notice any particular test that is slow than others.

Maybe there is bytes package code that can be made faster? Maybe some tests can be adjusted to make arm builders faster? Maybe nothing can be done? Then just close the issue.

Thank you.

Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions