The dirty checking that NodePart does for primitive values should be ported to AttributePart and PropertyPart.
@QuinntyneBrown please do not ask the same question on several, unrelated issues.
Something along these lines? https://gist.github.com/kenchris/745f22b7451d3fe56e986965f2cc6d9b
I removed my previous dirty check in lit-html-element and used this instead and it results in a similar speed up:

If the approach is correct and I understood the code correctly, then I can turn this into a patch
Most helpful comment
Something along these lines? https://gist.github.com/kenchris/745f22b7451d3fe56e986965f2cc6d9b
I removed my previous dirty check in lit-html-element and used this instead and it results in a similar speed up:
If the approach is correct and I understood the code correctly, then I can turn this into a patch