~/talk

Frontend: Graphs. Build. Dead Code

TalkinRussianat HolyJS 2022 Spring · 2022-06-08..06-23· [frontend-architecture, web-performance]
links:none on file
slides:none on file

Nikita from Yandex.Market explains using a dependency graph extracted from the build to find and remove dead code in a large frontend repository. He describes enriching the build graph with additional sources (TODOs, experiments, API usage) because the raw dependency graph alone is insufficient, and turning deletion into a reproducible process and development culture. He also presents metrics showing benefits and experiments with network-analysis tools to assess repository health.

AI-written summary · about

  1. 0:00Welcome
  2. 4:54Talk goal
  3. 6:22Yandex Market architecture
  4. 7:26Code growth and dead code
  5. 9:13Dead code definition
  6. 11:44Finding dead code
  7. 12:46Build dependency graph
  8. 15:12Dependency analysis tools
  9. 17:17Base build graph
  10. 18:21Build optimizations impact
  11. 20:51Re-exports problems
  12. 22:58Code removal algorithm
  13. 25:23Module filtering and tests
  14. 27:56Cross-imports problems
  15. 29:42Docs and tests barriers
  16. 31:06Logs analysis and metrics
  17. 32:50Removing features
  18. 35:57Usage metrics
  19. 37:42Removal results
  20. 39:27Dependency analysis rules
  21. 41:55Graphs as networks
  22. 43:20Yandex Market graph visualization
  23. 45:45Graph metrics: degree and clustering
  24. 47:30Degree distribution
  25. 49:59Centrality and importance
  26. 52:28Modularity and extraction
  27. 54:57Module authority metric
  28. 56:20Analysis granularity
  29. 57:46Q&A
~/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.