Coder Social home page Coder Social logo

Thorough testing about zld HOT 5 CLOSED

michaeleisel avatar michaeleisel commented on June 5, 2024
Thorough testing

from zld.

Comments (5)

rmaz avatar rmaz commented on June 5, 2024

I think passing the bundled unit tests as well as doing a couple of performance comparisons would be a great start.

link the "signal", "storage", and "XUL" files used in the benchmarks, then ensure they're byte-for-byte the same as ones linked from a previous version

Worth comparing to the comparable system linker for byte compatibility? Or would the layout differ somehow?

from zld.

michaeleisel avatar michaeleisel commented on June 5, 2024

Yeah, perf comparisons also. The system linker differs due to optimizations around hashing and unstable sorting, but those optimizations can be disabled by using -DREPRO, in which case it should (last I checked) build same as the linker.

from zld.

michaeleisel avatar michaeleisel commented on June 5, 2024

I'm noticing non-determinism even when using the same linker. Getting rid of that non-determinism may be a larger project for later, so for now I think we can leave binary reproducibility alone (or at least only test a subset of the binary for equality). As for how to reintegrate the unit tests in a way that's easy for people to use, I think I'll look into putting an XCTest wrapper around all of the tests that actually work, and finding a way to ignore any auto-generated files. Then we can start adding other tests as part of the same XCTest target, e.g. for the 3 linking invocations that I've focused on. The tests will all be put back in and ready by end of next week, no need to worry :) I'm also happy to help if you want to get this done sooner and do the work yourself.

from zld.

michaeleisel avatar michaeleisel commented on June 5, 2024

Also, there are a lot of interactions with the filesystem in these tests, hopefully that's not a problem for any CI processes

from zld.

michaeleisel avatar michaeleisel commented on June 5, 2024

Closing for now

from zld.

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.