Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(139)

Issue 76080044: code review 76080044: runtime: add stack growth tests (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by dvyukov
Modified:
11 years, 7 months ago
Reviewers:
gobot, khr, 0intro
CC:
golang-codereviews, khr
Visibility:
Public.

Description

runtime: add stack growth tests Also move generated code into a separate file, because it's difficult to work with the file otherwise.

Patch Set 1 #

Patch Set 2 : diff -r 08dcdcdb757b https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r 08dcdcdb757b https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 4

Patch Set 4 : diff -r 77748afb0baa https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r 77748afb0baa https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1623 lines, -1480 lines) Patch
A src/pkg/runtime/stack_gen_test.go View 1 1 chunk +1473 lines, -0 lines 0 comments Download
M src/pkg/runtime/stack_test.go View 1 2 3 5 chunks +150 lines, -1480 lines 0 comments Download

Messages

Total messages: 7
dvyukov
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 7 months ago (2014-03-14 15:13:35 UTC) #1
khr
LGTM. https://codereview.appspot.com/76080044/diff/30003/src/pkg/runtime/stack_test.go File src/pkg/runtime/stack_test.go (right): https://codereview.appspot.com/76080044/diff/30003/src/pkg/runtime/stack_test.go#newcode179 src/pkg/runtime/stack_test.go:179: _ = x Why is this necessary? Maybe ...
11 years, 7 months ago (2014-03-17 21:50:44 UTC) #2
dvyukov
https://codereview.appspot.com/76080044/diff/30003/src/pkg/runtime/stack_test.go File src/pkg/runtime/stack_test.go (right): https://codereview.appspot.com/76080044/diff/30003/src/pkg/runtime/stack_test.go#newcode179 src/pkg/runtime/stack_test.go:179: _ = x On 2014/03/17 21:50:44, khr wrote: > ...
11 years, 7 months ago (2014-03-19 13:22:36 UTC) #3
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=b3ac9687b0c9 *** runtime: add stack growth tests Also move generated code into ...
11 years, 7 months ago (2014-03-19 13:23:01 UTC) #4
gobot
This CL appears to have broken the freebsd-386 builder. See http://build.golang.org/log/336f89da6acb8eb37c665d08208a20b0ccb48999
11 years, 7 months ago (2014-03-19 13:29:24 UTC) #5
0intro
It seems the parallel runtime test is sometimes timing out on Plan 9 since the ...
11 years, 7 months ago (2014-03-19 16:10:07 UTC) #6
dvyukov
11 years, 7 months ago (2014-03-19 16:17:19 UTC) #7
On Wed, Mar 19, 2014 at 8:10 PM,  <0intro@gmail.com> wrote:
> It seems the parallel runtime test is sometimes timing out on Plan 9
> since the introduction of the TestStackGrowth test. We're investigating
> it.

It's slow on beefy machines as well (2.3 seconds, while I usually aim
at 0.1s for -short mode).
We probably need to reduce constants in the test in -short mode.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b