Comments (5)
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.
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.
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.
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.
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)
- Fails to run on Linux HOT 1
- Issue with NotSupportedException HOT 1
- Opening binlog downloaded from ADO build artifact HOT 1
- Add mention about SignPath Foundation and free code certificate in Readme.md HOT 3
- Severe lock contention in BlockingCollection in BinLogReader HOT 13
- Please sign and notarize macOS app HOT 9
- 0 ms is displayed for all analyzers under Analyzer Summary when using incompatible culture
- Wrong parenting of search results HOT 1
- Web version is broken
- System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.Build.Framework, Version=15.1.0.0 HOT 13
- The Avalonia version on Mac crashed when launching HOT 4
- Live Wasm version doesn't work after updating to net7.0 HOT 1
- Error reading (native code sln) binlog generated via MSBuild VS2022Preview v143 toolset c++17 HOT 4
- Retire our copies of some MSBuild types HOT 4
- Version 2.1.820 throws occasional errors reading recent binary logs HOT 3
- MD5 causes cryptographic exception if FIPS is enabled on Windows HOT 2
- OOM when copying large trees HOT 1
- Task assembly may not be reported correctly when multiple tasks of the same name are used HOT 1
- chocolatey and winget packages outdated HOT 1
- Code and File metadata not visible or searchable for non-critical messages HOT 6
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 msbuildstructuredlog.