~/talk

Green Code Experiments

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [web-performance]
links:none on file
slides:none on file

Small benchmark programs measure runtime as a proxy for energy and money using repeated runs, shuffled ordering, and simple timers; code is generated or assisted by an LLM and results are published. A loop test shows Python is faster when initialization is moved outside the loop but C and Java are slightly faster when initialized inside. Date parsing on a MacBook finds DateTime.Parse fastest on macbook benchmark, ParseExact slower, DateTimeOffset slowest. A language ranking reproduces that compiled languages dominate and interpreted languages are ~70–80× slower than C, and a regex test shows C ≈5× faster than Perl for that workload.

AI-written summary · about

  1. 0:00Green code experiments matter
  2. 1:08Measuring energy cost indirectly
  3. 3:19Optimizing code without experiments
  4. 3:59Loop variable speed test
  5. 5:26Generalizing experimental method
  6. 6:08Date parsing efficiency
  7. 7:56LLM tools for experiments
  8. 8:18Questions experiments answer
  9. 9:02Rust in WebAssembly impact
  10. 11:58Regex performance C vs Perl
  11. 13:01Code optimization context
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.