Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/pete-woods/profiling-demo

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/pete-woods/profiling-demo

  • v0.0.0-20211006154737-e296b014f136
  • Source
  • Go
  • Socket score

Version published
Created
Source

profiling-demo

Based on Dave Cheney's profiling exercise from GopherCon 2019

Two little demos

  • Simple word count app: words_test.go.
    • Hint 1 - syscalls can be slow, try CPU profiling.
    • Hint 2 - Once you've fixed the CPU usage, try using the memory profiler to see if there's any stray memory allocations.
  • Mutex profiling: mutex_test.go.

FAQs

Package last updated on 06 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc