This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread 3 (Thread 0x7f47303ff700 (LWP 29153)): | |
#0 0x00007f473ef6cd63 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 | |
#1 0x00007f474060a5d3 in ?? () | |
from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5 | |
#2 0x00007f47405f5f60 in event_base_loop () | |
from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5 | |
#3 0x000000000634b2fd in folly::EventBase::loopBody(int) () | |
at /tmp/tmp.hEWUdoldcP/third-party/folly/src/folly/io/async/EventBase.cpp: 347 | |
#4 0x000000000634af95 in folly::EventBase::loop() () | |
at /tmp/tmp.hEWUdoldcP/third-party/folly/src/folly/io/async/EventBase.cpp: 299 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("DOMContentLoaded", function() { | |
var lazyImages = [].slice.call(document.getElementsByClassName("js-lazy-img")); | |
if ("IntersectionObserver" in window) { | |
var config = { | |
// If the image gets within 250px of the browser's viewport, start the download: | |
rootMargin: '250px 0px', | |
}; | |
var lazyImageObserver = new IntersectionObserver(function(entries, observer) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("DOMContentLoaded",function(){var e=[].slice.call(document.getElementsByClassName("js-lazy-img"));if("IntersectionObserver"in window){var t=new IntersectionObserver(function(e,s){e.forEach(function(e){if(e.isIntersecting){var s=e.target;s.src=s.dataset.src,s.dataset.srcset&&(s.srcset=s.dataset.srcset),t.unobserve(s)}})},{rootMargin:"250px 0px"});e.forEach(function(e){t.observe(e)})}else e.forEach(function(e){e.src=e.dataset.src,e.dataset.srcset&&(e.srcset=e.dataset.srcset)})}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
export LC_ALL=C.UTF-8 | |
CURL_FORMAT="%{time_starttransfer} - %{time_pretransfer}" | |
declare -a TIMES | |
for i in {1..15}; do | |
OUT_CURL=$(curl -w "$CURL_FORMAT" -k --compressed -s -o /dev/null "$@") |
OlderNewer