Skip to content

Instantly share code, notes, and snippets.

::: {-EmC53_}{-EmC53_CRiC64VMXmAtFiQ}{7-FdaraSSH63rptu1Pc8cQ}{x.x.x.x}{x.x.x.x:9300}{zone=eu-west-1a}
Hot threads at 2018-10-11T13:51:16.637Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
::: {mGhV-nU}{mGhV-nUzTja_yet5D5AwAg}{0IA4BoVRTUul0mRVJFVtGA}{x.x.x.x}{x.x.x.x:9300}{zone=eu-west-1a, }
Hot threads at 2018-10-11T13:51:16.628Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
27.9% (139.3ms out of 500ms) cpu usage by thread 'Log4j2-TF-2-RollingFileManager-809'
9/10 snapshots sharing following 14 elements
java.util.zip.Deflater.deflateBytes(Native Method)
java.util.zip.Deflater.deflate(Deflater.java:444)
@carasel
carasel / deepClone.js
Last active January 26, 2018 22:12
The limits of using JSON.parse(JSON.stringify(obj)) for a deep clone
"use strict";
module.exports = {
deepClone: (obj) => {
if(!obj || typeof obj !== "object") {
throw new Error("Input was not an object");
} else {
return JSON.parse(JSON.stringify(obj));
}
}