bytecodealliance / bytecodealliance/wasmtime-go

Golang 1.17.3 performance regression

Open
#108 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
913
Forks
100
Avg merge
10m
Merged PRs (30d)
1

Description

Hello,

This is not an issue with Wasmtime, I am just hoping to get confirmation of something I'm seeing on my own machine.

It seems there has been a regression in Go 1.17.3 that slows down execution with Wasmtime:

## Go 1.17.2:
```
RUST: 1056
TINYGO: 1026
ASSEMBLYSCRIPT: 1052
GRAIN: 1140
SWIFT: 1775
```
## Go 1.17.3:
```
RUST: 1737
TINYGO: 1636
ASSEMBLYSCRIPT: 1683
GRAIN: 1888
SWIFT: 2876
```

(numbers are time in MS to execute 100k runs of a basic helloworld module)

As you can see, there is a noticable time difference after upgrading to 1.17.3.

Would anyone on the wasmtime team be willing to attempt some benchmarks on these two Go versions (I'm sure yours are more sophisticated) to help determine if there is a real performance regression in Go 1.17.3 ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.