Skip to content

Instantly share code, notes, and snippets.

David Parker boldfacedesign

Block or report user

Report or block boldfacedesign

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View watch.rb
#!/usr/bin/env ruby
require 'tempfile'
require 'fileutils'
# Signals
trap("SIGINT") { exit }
# Setup
boldfacedesign / imports_timing.js
Last active Aug 29, 2015 — forked from ebidel/imports_timing.js
HTML Imports Resource Timing performance
View imports_timing.js
// Know how fast your HTML Imports are
var imports = document.querySelectorAll('link[rel="import"]');
[], function(link) {
var entries = performance.getEntriesByName(link.href);'=== HTML Imports perf ===');
entries.forEach(function(e) {
console.log(, 'took', e.duration, 'ms');
You can’t perform that action at this time.