Comments (14)
I took it upon me to provide a 2.13 version.
It is available here: https://gitlab.com/leonard.ehrenfried/scalac-profiling
It's a bit of a work in progress but the scalac plugin is working. I wanted to port the build to sbt 1 but failed at moving over the sbt plugin and the integration test suite. Perhaps one day I will do that too.
Feedback is welcome.
from scalac-profiling.
Thanks for the reminder @SethTisue. We should somehow make sure to provide a 2.13 version, yes. We're basically at full capacity these months for the release of Scala 3, so I don't think we'll be able to dedicate someone to this very soon, though. If someone submits a PR, I'll make sure to review and merge it.
I think the first step will be to look at what happened to the CI, and probably migrate it to GitHub Actions or something else that's hosted.
from scalac-profiling.
@sjrd (is there perhaps someone at the Scala Center who has an interest in this...?)
from scalac-profiling.
@leonardehrenfried Could you send a PR? I'm happy to review the PR 😉
from scalac-profiling.
The problem with my fork is that it's 2.13 only.
Also, I failed hard to understand the sbt 0.13 build and could not port it to 1.0. I also didn't want to downgrade to Java 8 so I could use sbt 0.13.
After having admitted defeat, I deleted the old build files and started a fresh sbt 1 build definition, which only compiles what I need: the scalac plugin for 2.13. What's missing are the integration tests and the sbt plugin.
The actual change to the plugin code is tiny (1 line).
So, I'm unsure how to proceed. I could just commit the change and pray that CI can build it.
Or we communally take care of moving the complete build to 1.0.
from scalac-profiling.
it'd be great to have this resolved!
from scalac-profiling.
@sjrd ping one more time.... I won't bother you again
from scalac-profiling.
PR: #32
from scalac-profiling.
@danicheg I can reshare any publicity, if you point me to it
from scalac-profiling.
@SethTisue I think the plan is the following:
- Ask some people from the community to try out the
scalac-profiling
in their projects. Not sure how loud this request should be. - Once we gather feedback, and in case it's acceptable, we should polish some docs in this repo, plus, add some tweaks to the original article
SPEEDING UP COMPILATION TIME WITH SCALAC-PROFILING
(https://www.scala-lang.org/blog/2018/06/04/scalac-profiling.html). - Publish the release and make press releases if we want to.
from scalac-profiling.
Ask some people from the community to try out the scalac-profiling in their projects. Not sure how loud this request should be
feel free to announce it on #links on Discord, and if you put it on Mastodon or Twitter or Bluesky or whatever I will reshare
plus, add some tweaks to the original article
maybe just put a header at the top with a link to something that can be more easily kept up to date, e.g. the repo readme
from scalac-profiling.
@danicheg I re-shared your Mastodon post, and I also tweeted https://twitter.com/SethTisue/status/1717244376399991116 and bluesky'ed https://bsky.app/profile/sethtisue.bsky.social/post/3kclu3snymc2r
from scalac-profiling.
@SethTisue that's ... huge 😄 Hopefully, this will help someone.
from scalac-profiling.
thank you so much for your effort and your patience on this.
from scalac-profiling.
Related Issues (20)
- RFC: Introduce the `export-profiles` plugin option
- Plugin doesn't work even though -Vstatistics is set HOT 2
- Color flag seems incorrect in the Usage instructions HOT 2
- scalac-profiling quietly failing and providing no output in some cases HOT 8
- Adopt the `sbt-github-actions` SBT plugin
- Update FlameGraph HOT 2
- Scala 3 support? HOT 1
- Generate flamegraph for the entire project merging multiple modules
- Display file name of offending implicits in flamegraph HOT 1
- Flamegraphs are empty without the `-Ystatistics` option HOT 2
- Add link to documentation page in README and repo metadata
- Misleading logs regarding the `profiledb` on the first SBT startup HOT 2
- Move documentation to a more permanent home HOT 4
- Add additional maintainers HOT 1
- Enhance `scalac-profiling` for usage by any build tool
- Migrate microsite to Docusaurus
- Depends on the Flamegraph git project based in the Center organization HOT 10
- Enable searching on the website via Algolia HOT 1
- Embedded SVGs on the website are not clickable HOT 5
- Macro data seems to be counted incorrectly under show-profiles HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalac-profiling.