Giter Site home page Giter Site logo

Comments (5)

KirillOsenkov avatar KirillOsenkov commented on August 20, 2024 1

I need a fast and compact binary serialization format. XML was good for a prototype, but for large projects such as yours it is wasteful and inefficient.

I'll need to look into Protobuf.Net, Microsoft Bond or just roll a custom binary serialization format for the log files in addition to XML.

And yes, setting Prefer 32 bit to false is a cheaper workaround which I shall apply as well.

from msbuildstructuredlog.

KirillOsenkov avatar KirillOsenkov commented on August 20, 2024

I've made the app 64-bit for now, can you please run it, wait for it to auto-update, then close and run it again?

I'd be curious if setting it to 64-bit helps. Thanks!

from msbuildstructuredlog.

0x53A avatar 0x53A commented on August 20, 2024

What would you think about using something like Sqlite as the storage format?
Then any consumer could (in theory) use custom sql queries to get the information they want, without you needing to implement a gui for everything.

from msbuildstructuredlog.

KirillOsenkov avatar KirillOsenkov commented on August 20, 2024

The appeal of StructuredLogger.dll as it is right now is that it's a single .dll without dependencies. This way we can optimize for performance and make sure that the logger doesn't slow down builds too much. Also if we control the serialization format we can optimize it as well.

Whatever we'll end up with as a storage format shouldn't matter since we'll be providing a public API to read that data and then you can use C#/LinqPad/LINQ to query that, which IMHO is a better experience than Sqlite can provide.

from msbuildstructuredlog.

KirillOsenkov avatar KirillOsenkov commented on August 20, 2024

Hi @imag0r and @0x53A. I've just published a new version that supports a compact binary log format: *.buildlog. When passing the log file name to MSBuild, use the .buildlog extension instead of .xml. The UI will now default to .buildlog.

I'll be closing this issue but let me know if there's anything else I can do to improve it.

I'd be curious to the numbers you get on the log file size for your large builds. How much better is it?

from msbuildstructuredlog.

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.