Skip to content

Instantly share code, notes, and snippets.

View chadbrewbaker's full-sized avatar

Chad Brewbaker chadbrewbaker

View GitHub Profile
@chadbrewbaker
chadbrewbaker / 12.9.2021.md
Last active September 12, 2021 19:01
12 September 2021 EasyPerf
@chadbrewbaker
chadbrewbaker / dulien.md
Last active October 13, 2022 03:48
EasyPerf 1 August 2021 Twitter Space
@chadbrewbaker
chadbrewbaker / 4jul2021.md
Last active July 4, 2021 18:43
Performance Twitter Space Notes

Guest: @i_bogosavljevic Ivica Bogosavljevic

  • Biweekly performance meetup - diverse domains of expertese.
  • Performance challange coming in a few week.
  • Free online course rollout.
  • Ivica specalizes in embeddeed performance consulting at Johny's Software Lab.
  • Audio latency, high frequency trading, gaming all latency sensitive.
  • Memory bottlenecks are the most common performance issue.
  • The process is very agile, a series of experiments with the client.
  • Loop tiling, loop sectioning/merging, and loop interchange are useful transformations.
@chadbrewbaker
chadbrewbaker / 4jul2021.md
Created July 4, 2021 17:11
Perf Meetup Notes

Host: @dendibakh Guest: @i_bogosavljevic Ivica Bogosavljevic

  • Biweekly performance meetup - diverse domains of expertese.
  • Performance challange coming in a few week.
  • Free online course rollout.
@chadbrewbaker
chadbrewbaker / scribe.md
Last active May 25, 2021 11:09
Daniel Lemire notes
@chadbrewbaker
chadbrewbaker / main_demangled
Last active May 10, 2021 00:09
z3_regression
# To display the perf.data header info, please use --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 35K of event 'cpu-clock:uhpppH'
# Event count (approx.): 357151511580
#
# Children Self Command Shared Object Symbol
# ........ ........ ....... ................... ......................................................................................................................................................................................................................
@chadbrewbaker
chadbrewbaker / bcctools.yaml
Created March 14, 2021 19:43
Example for eBPF profiling on Github Actions
name: CICD
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.job.os }}
strategy:
# The individual has been paid wages for insured work during the individual’s base period in an amount at least one and one-quarter times the wages paid to the individual during that quarter of the individual’s base period in which the individual’s wages were highest; provided that the individual has been paid wages for insured work totaling at least three and five-tenths percent of the state wide average annual wage for insured work,computed for the preceding calendar year if the individual’s benefit year begins on or after the first full week in July and computed for the second preceding calendar year if the individual’s benefit year begins before the first full week in July, in that calendar quarter in the individual’s base period in which the individual’s wages were highest, and the individual has been paid wages for insured work totaling at least one-half of the amount of wages required under this paragraph in the calendar quarter of the base period in which the individual’s wages were highest, in a cale
@chadbrewbaker
chadbrewbaker / MinLambdas.md
Last active December 1, 2020 21:39
Runtimes for Minimal AWS Lambda Functions

US-East-1 on 12-1-2020

Invocation through web console clicking Test button.

Python after cold start seems to stay around 1ms. Nodejs seems to bounce back to 33 ms cold restart.

The kernel is 4.14.203-112.332.amzn2.x86_64.

Sadly no /dev/shm or /dev/zram. No swapon or mkswap commands to set swapspace.