Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Add better Tuple benchmarks #729

Merged
merged 2 commits into from
May 23, 2019
Merged

Add better Tuple benchmarks #729

merged 2 commits into from
May 23, 2019

Conversation

nicolasstucki
Copy link
Collaborator

No description provided.

@nicolasstucki
Copy link
Collaborator Author

@liufengyun note that I modified I removed the old tuple benchmarks. This set will give us more meaningful results.

@liufengyun
Copy link
Owner

@nicolasstucki Can we just keep the old tests and add new ones? Removing lines involves migrating data, which causes additional maintenance efforts.

@nicolasstucki
Copy link
Collaborator Author

Can't we just ignore old data and not show it in the graphs?

@liufengyun
Copy link
Owner

@nicolasstucki We could have stale data in the database, just that it is not ideal. We can merge this anyway, and deal with the obsolete data later.

@@ -0,0 +1,4 @@
class Foo {
val tup: (Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int) = ???
tup.tail.tail.tail.tail.tail
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to call head to mirror apply?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Head will become an instance of apply(0) therefore the test would be redundant.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, do we want to go beyond 22, to test the feature more stressfully :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do. Also should put some small tuples.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

@nicolasstucki
Copy link
Collaborator Author

It would be good to merge and run it for a few commits in the past to be able to use it in scala/scala3#6539 and compare the results.

@liufengyun liufengyun merged commit b7513a9 into master May 23, 2019
@liufengyun liufengyun deleted the add-tuple-plan branch May 23, 2019 14:55
@liufengyun
Copy link
Owner

Deployed and scheduled regressional tests for recent 13 merges.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants