Logo
Explore Help
Sign In
1berry/go
1
0
Fork 0
You've already forked go
Code Issues Packages Projects Releases Wiki Activity
go/test/wasmmemsize.go

12 lines
268 B
Go
Raw Permalink Normal View History

test: add a test for wasm memory usage Test that a small Wasm program uses 8 MB of linear memory. This reflects the current allocator. We test an exact value, but if the allocator changes, we can update or relax this. Updates #69018. Change-Id: Ifc0bb420af008bd30cde4745b3efde3ce091b683 Reviewed-on: https://go-review.googlesource.com/c/go/+/622378 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-10-25 17:30:26 -04:00
// runindir
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This test checks the memory size of a small wasm program.
//go:build wasm
package ignored
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 954ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API