forked from MarseyWorld/MarseyWorld
benchmark
parent
1dbae589bb
commit
c0c3b248e0
|
@ -154,6 +154,7 @@ const emojisSearchDictionary = {
|
||||||
|
|
||||||
// get public emojis list
|
// get public emojis list
|
||||||
function fetchEmojis() {
|
function fetchEmojis() {
|
||||||
|
const t = Date.now() / 1000
|
||||||
const headers = new Headers({xhr: "xhr"})
|
const headers = new Headers({xhr: "xhr"})
|
||||||
return fetch("/emojis.json", {
|
return fetch("/emojis.json", {
|
||||||
headers,
|
headers,
|
||||||
|
@ -242,6 +243,8 @@ function fetchEmojis() {
|
||||||
emojiSearchBarDOM.disabled = false;
|
emojiSearchBarDOM.disabled = false;
|
||||||
|
|
||||||
emojiEngineState = "ready";
|
emojiEngineState = "ready";
|
||||||
|
|
||||||
|
console.log(Date.now() / 1000 - t)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue