Skip to content

Instantly share code, notes, and snippets.

View artyushov's full-sized avatar

Nikita Artyushov artyushov

  • Google
  • London, UK
View GitHub Profile
@artyushov
artyushov / gist:886685baaa1d7b6dc92ecd8df4ceba9b
Created August 30, 2018 02:39
terraform plan debug output
nikita@local:tf-test$ TF_LOG=DEBUG terraform plan
2018/08/30 12:38:01 [INFO] Terraform version: 0.11.8 7a5c1d221ac209bbac66947c369815cd9ca70ed5
2018/08/30 12:38:01 [INFO] Go runtime version: go1.10.1
2018/08/30 12:38:01 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/0.6.0/versions/0.11.8/terraform", "plan"}
2018/08/30 12:38:01 [DEBUG] Attempting to open CLI config file: /Users/nikita/.terraformrc
2018/08/30 12:38:01 Loading CLI configuration from /Users/nikita/.terraformrc
2018/08/30 12:38:01 [INFO] CLI command args: []string{"plan"}
2018/08/30 12:38:01 [INFO] command: empty backend config, returning nil
2018/08/30 12:38:01 [DEBUG] command: no data state file found for backend config
2018/08/30 12:38:01 [DEBUG] New state was assigned lineage "cc4ca727-322b-2fcc-a0dd-59875d0a0e78"
package ru.artyushov.samples;
import org.openjdk.jmh.annotations.*;
/**
* User: nikart
* Date: 15/08/14
* Time: 14:15
*/
@State(Scope.Benchmark)
package org.sample;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import org.openjdk.jmh.annotations.GenerateMicroBenchmark;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.State;
import java.io.IOException;
This file has been truncated, but you can view the full file.
# Fork: 1 of 1
# VM options: -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly
Java HotSpot(TM) 64-Bit Server VM warning: PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output
Loaded disassembler from hsdis-amd64.dylib
Decoding compiled method 0x0000000106b1be90:
Code:
[Disassembling for mach='i386:x86-64']
[Entry Point]
[Constants]
# {method} 'hashCode' '()I' in 'java/lang/String'
This file has been truncated, but you can view the full file.
# Fork: 1 of 1
# VM options: -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly
Java HotSpot(TM) 64-Bit Server VM warning: PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output
Loaded disassembler from hsdis-amd64.dylib
Decoding compiled method 0x000000010e03da10:
Code:
[Disassembling for mach='i386:x86-64']
[Entry Point]
[Constants]
# {method} 'hashCode' '()I' in 'java/lang/String'
package org.sample;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.openjdk.jmh.annotations.GenerateMicroBenchmark;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.Setup;