릴리스 노트는 영어로 작성되어 있습니다.
Closed tabs give their memory back, and XML pages read as XML
Two things in this release. First, memory after a tab closes. Floati frees memory the moment nothing uses it, and a separate collector finds loops of objects that only point at each other. That collector only looked at loops whose last outside link was cut in an object or a list. Modern app pages, React ones especially, also make loops whose last link was a local variable inside a function call, and those were never found: a code host's page kept its whole page, about 83 MB, after it was closed. Floati now notes any object that loses a reference and stays alive, which is how the reference collectors of this kind work (Bacon and Rajan, 2001), and that page now leaves about 46 MB, the browser's own shared caches. Script speed on real pages is unchanged. Second, the web platform. Pages and frames served as XML (XHTML, SVG images, feeds) are now read by Floati's own XML parser, so names keep their case and namespaces and a broken file shows the error the way the reference browser does; DOMParser reads XML too, CompressionStream and DecompressionStream work, and text nodes, names and namespaced lookups follow the current DOM rules. The DOM test score is now 96.3 percent of what the reference browser passes, up from 95.5.
A closed tab gives back what it held
Floati counts references: when nothing points at an object any more it is freed at once, with no pauses. A loop of objects that only point at each other never reaches zero, so a separate collector looks for such loops, starting from places where a link was cut. It used to start only from links cut inside an object or a list. React keeps its work in rings of small objects (each component's hooks, effects and pending updates), and the last outside link to such a ring is often a local variable in a function that has returned, so the ring was never looked at. Found by recording a code host's page and cutting its 900 KB of script down, automatically, until only the part that still leaked was left: React drawing the page. Now any object that loses a reference and stays alive is noted, once, as a place the collector may start. Measured on and off on the same pages.
XML pages and frames are read as XML
A page or frame served as XML (an XHTML document, an SVG image, a feed) used to be read as HTML: names lost their case, namespaces were dropped, and a broken file looked fine. Floati now has its own XML parser, with namespaces, entities, CDATA and processing instructions, and it shows a broken file's first error the way the reference browser does. DOMParser uses it for every XML type and rejects types it does not know.
바뀐 점
변경 12개- 기억과 읽기A closed tab now gives back the memory of loops of objects whose last outside link was a local variable (React's hook, effect and update lists): a code host's page leaves about 46 MB after close instead of 83 MB, with script time unchanged on 11 real pages.
- 기억과 읽기When the list of places the collector starts from is full, an object that could not be added is no longer marked as added, so it can still be collected later.
- 기억과 읽기A collection that is allowed to look at only part of the memory takes no more starting places than it can look at, and leaves the rest for the next one; handed too many, it freed nothing.
- 기억과 읽기A new measuring tool counts the references left on a page after it closes, and the leak report names exactly what holds memory that should have gone.
- 렌더링CompressionStream and DecompressionStream (gzip, deflate and raw deflate) run on Floati's own compressor and reject damaged input with the reference browser's errors.
- 렌더링Text and comment nodes no longer answer to element-only members such as getAttribute, as in the reference browser.
- 웹 API와 DOMElement, attribute and namespace names follow the current DOM rules when a script creates or sets them.
- 웹 API와 DOMDOMParser reads XML, XHTML and SVG with Floati's own XML parser (namespaces, entities, CDATA, processing instructions) and shows a broken file's first error; unknown types are refused.
- 렌더링getElementsByTagNameNS matches the namespace and the exact name, so an RSS feed's namespaced tags are found.
- 렌더링Pages served as XML (XHTML, SVG, feeds) are read as XML documents, with their styles and scripts.
- 웹 API와 DOMFrames that load an XML file get a real XML document, as scripts in the parent page expect.
- JavaScript와 JITGroundwork, still switched off: when functions are compiled only on their first call, a function called right where it is defined is compiled at once (a news site's bot check: 40 percent slower before, 17 percent now).












