GithubHelp home page GithubHelp logo

Comments (3)

travisbrown avatar travisbrown commented on July 22, 2024 1

This now compiles in seconds (in 0.8.0 and earlier). There are a lot of things that changed in #247 and I don't remember at the moment which pieces are most likely responsible for clearing this up, but I'm going to go ahead and close the issue since it's not a problem any more.

from circe.

travisbrown avatar travisbrown commented on July 22, 2024

Hey @maxaf, sorry this issue slipped by me (I was camping when it arrived and somehow never noticed it). Feel free to bother me on Gitter or Twitter or here if I ever just let something sit for weeks.

The good news is that I just confirmed that I can reproduce this issue in 0.3.0 and that it's fixed in 0.4.0 (not head or the snapshot, which aren't updated yet, but I'm hoping to have the release out tonight).

from circe.

maxaf avatar maxaf commented on July 22, 2024

Thanks & no worries! I worked around the (still unknown to me) root cause by rearranging my compilation units. 0.4.0 looks awesome, looking forward to it!

Through a form of differential diagnosis I've pursued this issue and the general slowness of compiling any derived circe instances. The main insight was that compilation performance tanks when target directories are located on a slow file system. In my case this was a VirtualBox shared directory inside a Vagrant-managed VBox instance. I gained back more than 40% of compilation time by moving target directories to a faster file system by way of an sbt plugin.

Could you explain in a nutshell what the root cause of this issue was? I never thought that placing code in one file or another might affect anything apart from restrictions on deriving from a sealed type.

from circe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.