Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successful Rsc-based compilation of a case study project #241

Merged
merged 20 commits into from
Oct 10, 2018

Conversation

xeno-by
Copy link
Contributor

@xeno-by xeno-by commented Oct 10, 2018

No description provided.

This lays the groundwork for fixing twitter#239, but unfortunately eager loading
of dependency classpaths is insanely slow (benchMjar goes up from 310ms to
1548ms which makes this solution unacceptable).
… inner Java classes (see twitter#239)

This fixes the corresponding ticket, but unfortunately eager loading
of dependency classpaths is insanely slow (benchMjar goes up from 310ms to
1548ms which makes this solution unacceptable).
…o static inner Java classes (see twitter#239)"

This reverts commit e91546a.
This aligns Rsc results with Scalac results. Instead of producing
a standalone .semanticdb file, Rsc now produces a more appropriate
META-INF/semanticdb/combined.semanticdb.
… inner Java classes (fix twitter#239)

Unlike e91546a, this fix has acceptable
performance characteristics (benchScalasig goes up from 322.939ms to 342.001ms).
The former is inconsistent with our singular style for package names.
Scalasigs are also stored in classes, so I decided to emphasize the fact
that this checker compares not just metadata but also bytecode.
benchSemanticdb increases from 165ms to 179ms,
benchMjar decreases from 342ms to 282ms.
When compiling into a jar, benchSemanticdb decreases from 179ms to 175ms.
When compiling into a dir, benchSemanticdb increases from 165ms to 194ms.
benchSemanticdb decreases from 175ms to 169ms (basically, to the times
when we were writing combined.semanticdb via DirectoryOutput),
benchMjar decreases from 278ms to 263ms.
This was referenced Oct 10, 2018
@xeno-by xeno-by merged commit 20928bb into twitter:master Oct 10, 2018
@xeno-by xeno-by deleted the topic/assorted branch October 10, 2018 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant