Speed up shared/node-attribute-parser getType function
Categories
(DevTools :: Inspector: Rules, task, P3)
Tracking
(firefox70 fixed)
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
Details
Attachments
(1 file)
We can speed up the getType function by changing the dataType into an object from an array. That way we avoid looping looking for the matching tagName and namespaceURI and access the typeData directly by their tagName.
| Assignee | ||
Comment 1•6 years ago
|
||
We can speed up the getType function by changing the dataType into an object from an array.
That way we avoid looping looking for the matching tagName and namespaceURI and access the typeData directly by their tagName.
| Assignee | ||
Comment 2•6 years ago
|
||
DAMP https://treeherder.mozilla.org/perf.html#/comparesubtest?originalProject=try&newProject=try&newRevision=18da9ca8e49f7d6a77dfdbad68645ee38db18f5d&originalSignature=1759151&newSignature=1759151&framework=12&originalRevision=0db3171f2f30b7af43af09a7fbf265285c151cf2
try https://treeherder.mozilla.org/#/jobs?repo=try&revision=18da9ca8e49f7d6a77dfdbad68645ee38db18f5d
| Assignee | ||
Comment 3•6 years ago
|
||
Notable:
cold.inspector.open.DAMP -0.33%
complicated.inspector.open.DAMP -0.38%
custom.inspector.open.DAMP -0.74%
Comment 5•6 years ago
|
||
| bugherder | ||
Description
•