Skip to content

Instantly share code, notes, and snippets.

Mike! mike-ensor

Block or report user

Report or block mike-ensor

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


This is a quick "how-to" built off of several other's blogs, twitter posts, gists and such. The goal is to create a workable environment for basic GCP (gcloud) development with VSCode.


This installation process takes about 30-45 minutes each time a container is built from scratch (purely based on network performance, so could be faster or slower, this was my experience).


  1. Enable chromebook for development (
  2. Run the script ( to setup VSCode + GCloud
  3. Create service account
mike-ensor /
Created Dec 29, 2016
This script will run benchmark tests in isolation.
mvn clean verify -Pbenchmark
View pom.xml
<!-- Start application for benchmarks to test against -->
public class SerializationBenchmark {
private RecipeService service;
private Recipe recipe;
private byte[] protoRecipe;
private String recipeAsJSON;
public class BenchmarkBase {
public static void main(String[] args) throws RunnerException, IOException {
Properties properties = PropertiesLoaderUtils.loadAllProperties("");
int warmup = Integer.parseInt(properties.getProperty("benchmark.warmup.iterations", "5"));
int iterations = Integer.parseInt(properties.getProperty("benchmark.test.iterations", "5"));
int forks = Integer.parseInt(properties.getProperty("benchmark.test.forks", "1"));
mike-ensor / pom.xml
Last active Dec 29, 2016
View pom.xml
<!-- Other libraries left out for brevity -->
<!-- jmh.version is the lastest version of JMH. Find by visiting -->
# Written by Mike Ensor (
# Copywrite 2012
# Use as needed, modify, have fun!
# This is intended to be used for Maven3 + Mac OSX
# To use:
# in your ".bashrc" or ".bash_profile" add the following line:
# source ~/<path to script>/
You can’t perform that action at this time.