Skip to content

Instantly share code, notes, and snippets.

View ggilmore's full-sized avatar

Geoffrey Gilmore ggilmore

  • San Francisco, California
View GitHub Profile
@ggilmore
ggilmore / main.go
Last active May 15, 2024 00:22
demonstrating polling technique for finding memory usage of child process on linux
package main
import (
"context"
"fmt"
"log"
"os"
"os/exec"
"sync"
"syscall"

QA Test Plan

Summary

We have converted several internal services (sourcegraph-frontend-internal's zoekt configuration APIs, symbols, searcher, repo-updater, and gitserver) to use gRPC for communication instead of REST APIs.

This change improves performance and enables stronger typing and streaming APIs. It also paves the road for subsequent internal service changes to use gRPC and its large ecosystem.

Test Plan

{ partial "header.html" . }}
{{ $.Scratch.Set "displayOld" false }}
<main role="main" class="article-list">
<div class="rush-title-container">
<div><h1 class="list-title">Current Rush Events </h1></div>
</div>
{{ range .Data.Pages.GroupByDate "Monday, January 2" "asc"}}
{{ $.Scratch.Set "displayDate" false }}