Coder Social home page Coder Social logo

Comments (6)

AArnott avatar AArnott commented on June 3, 2024

This is great feedback. Thanks. Yes, I can think of some ways we can improve this.

from nerdbank.gitversioning.

AArnott avatar AArnott commented on June 3, 2024

I'm working on this now, but it would be very helpful if you could collect perf traces of your build so that I can be sure I'm making the changes that will speed up your build. Can you please use PerfView to collect those traces?
After downloading it:

  1. click Collect-> Collect (it may restart to elevate, then repeat this step)
  2. Check the 'Zip' option
  3. Expand "Advanced Options"
  4. Check the "No V3.X NGEN Symbols" option
  5. Make sure Current Dir and Data File are set to where you want to place the trace file(s).
  6. Prepare to kick off a build that will demonstrate the problem. Arrange for the build you're measuring to last 10-20 seconds (by picking which projects to build, or using an incremental build).
  7. Click Start Collection, and immediately kick off your build.
  8. When your build is done, stop collection in PerfView.
  9. It could take 30 seconds or even minutes to wrap up its work. Then send me the .zip file it creates.

This will give a very clear and reliable picture of where the time in your build goes, and in particular, I can look at the GetBuildVersion task time to make sure that all the expensive operations get saved and reused across all projects in the future.

from nerdbank.gitversioning.

azeno avatar azeno commented on June 3, 2024

I've added two traces. The AffectedAllProjects was a solution build (not re-build) which touched all 38 projects. The AffectedFiveProjects was after I changed one line of code and did a build of the top-level project file.

http://we.tl/EC5EKmHNuE

from nerdbank.gitversioning.

AArnott avatar AArnott commented on June 3, 2024

Thanks. I'm taking a look now.

from nerdbank.gitversioning.

AArnott avatar AArnott commented on June 3, 2024

@azeno: can you please try this fix to see if it helps your build?

NuGet package source: https://ci.appveyor.com/nuget/nerdbank-gitversioning
Version to upgrade to: 1.1.56-rc-gcfa44ca7d1

If the perf doesn't seem satisfactory even with these changes, please supply a fresh PerfView ETL trace with this updated version so I can get a look at what remains to be fixed.

from nerdbank.gitversioning.

azeno avatar azeno commented on June 3, 2024

Works like a charm! Thank you!

from nerdbank.gitversioning.

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.