Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reinier Maas
GHC
Commits
a0c1c965
Commit
a0c1c965
authored
10 years ago
by
Austin Seipp
Browse files
Options
Downloads
Patches
Plain Diff
testsuite: fix failing amd64/Windows perf tests
Signed-off-by:
Austin Seipp
<
austin@well-typed.com
>
parent
ab0743f8
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/tests/callarity/perf/all.T
+2
-1
2 additions, 1 deletion
testsuite/tests/callarity/perf/all.T
testsuite/tests/perf/should_run/all.T
+13
-6
13 additions, 6 deletions
testsuite/tests/perf/should_run/all.T
with
15 additions
and
7 deletions
testsuite/tests/callarity/perf/all.T
+
2
−
1
View file @
a0c1c965
test
('
T3924
',
[
stats_num_field
('
bytes allocated
',
[
(
wordsize
(
64
),
50760
,
5
),
[
(
wordsize
(
64
),
50760
,
8
),
# previously, without call-arity: 22326544
# 2014-01-18: 51480 (amd64/Linux)
# 2014-07-17: 50760 (amd64/Linux) (Roundabout adjustment)
# 2015-04-03: Widen 5->8% (amd64/Windows was doing better)
(
wordsize
(
32
),
44988
,
5
)
]),
# 2014-04-04: 44988 (Windows, 64-bit machine)
only_ways
(['
normal
'])
...
...
This diff is collapsed.
Click to expand it.
testsuite/tests/perf/should_run/all.T
+
13
−
6
View file @
a0c1c965
...
...
@@ -16,10 +16,11 @@ test('T3586',
test
('
T4830
',
[
stats_num_field
('
bytes allocated
',
[(
wordsize
(
64
),
98248
,
1
),
[(
wordsize
(
64
),
98248
,
4
),
# 127000 (amd64/Linux)
# 2013-02-07: 99264 (amd64/Linux)
# 2014-01-13: 98248 (amd64/Linux) due to #8647
# 2015-04-03: Widen 1->4% (amd64/Windows was doing better)
(
wordsize
(
32
),
70646
,
3
)]),
# 2013-02-10: 69744 (x86/Windows)
# 2013-02-10: 71548 (x86/OSX)
...
...
@@ -39,10 +40,11 @@ test('lazy-bs-alloc',
[
stats_num_field
('
peak_megabytes_allocated
',
(
2
,
1
)),
# expected value: 2 (amd64/Linux)
stats_num_field
('
bytes allocated
',
[(
wordsize
(
64
),
425400
,
1
),
[(
wordsize
(
64
),
425400
,
3
),
# 489776 (amd64/Linux)
# 2013-02-07: 429744 (amd64/Linux)
# 2013-12-12: 425400 (amd64/Linux)
# 2015-04-04: Widen 1->3% (amd64/Windows was failing)
(
wordsize
(
32
),
411500
,
2
)]),
# 2013-02-10: 421296 (x86/Windows)
# 2013-02-10: 414180 (x86/OSX)
...
...
@@ -58,7 +60,9 @@ test('lazy-bs-alloc',
test
('
T876
',
[
stats_num_field
('
bytes allocated
',
[(
wordsize
(
64
),
63216
,
5
),
[(
platform
('
x86_64-unknown-mingw32
'),
71904
,
5
),
# 2015-04-03: 71904 (amd64/Windows, unknown cause)
(
wordsize
(
64
),
63216
,
5
),
# 2013-02-14: 1263712 (x86_64/Linux)
# 2014-02-10: 63216 (x86_64/Linux), call arity analysis
...
...
@@ -95,10 +99,11 @@ test('T3738',
stats_num_field
('
bytes allocated
',
[(
wordsize
(
32
),
45648
,
5
),
# expected value: 50520 (x86/Linux)
(
wordsize
(
64
),
50592
,
5
)]),
(
wordsize
(
64
),
50592
,
8
)]),
# prev: 49400 (amd64/Linux)
# 2014-07-17: 50520 (amd64/Linux) general round of updates
# 2014-09-10: 50592 (amd64/Linux) post-AMP-update
# 2015-04-03: Widen 5->8% (amd64/Windows was doing better)
only_ways
(['
normal
'])
],
compile_and_run
,
...
...
@@ -160,9 +165,10 @@ test('T5205',
[
stats_num_field
('
bytes allocated
',
[(
wordsize
(
32
),
47088
,
5
),
# expected value: 47088 (x86/Darwin)
(
wordsize
(
64
),
52600
,
5
)]),
(
wordsize
(
64
),
52600
,
7
)]),
# expected value: 51320 (amd64/Linux)
# 2014-07-17: 52600 (amd64/Linux) general round of updates
# 2015-04-03: Widen 5->7% (amd64/Windows was doing better)
only_ways
(['
normal
',
'
optasm
'])
],
compile_and_run
,
...
...
@@ -276,9 +282,10 @@ test('T7507', omit_ways(['ghci']), compile_and_run, ['-O'])
test
('
T7436
',
[
stats_num_field
('
max_bytes_used
',
[(
wordsize
(
64
),
60360
,
1
),
[(
wordsize
(
64
),
60360
,
4
),
# 127000 (amd64/Linux)
# 2013-02-07: 60360 (amd64/Linux)
# 2015-04-03: Widen 1->4% (amd64/Windows was doing better)
(
wordsize
(
32
),
58434
,
1
)]),
# 2013-02-10: 58032 (x86/Windows)
# 2013-02-10: 58836 (x86/OSX)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment