Skip to content

Instantly share code, notes, and snippets.

@lhl2617
Created July 19, 2020 10:20
Show Gist options
  • Save lhl2617/ecafbf5b62e80946c9bd6eb1f073b38b to your computer and use it in GitHub Desktop.
Save lhl2617/ecafbf5b62e80946c9bd6eb1f073b38b to your computer and use it in GitHub Desktop.
<div class="col-md-4">
<div class="work-box">
<div id="chrome-inline-content" style="display: none;">
<img src="assets/img/chrome-popup.png" alt="" style="width: 60%; display: block; margin: auto;">
<h3 style="text-align: center; margin-left: 20px; margin-right: 20px;">Chromium Project Contributions
</h3>
<h5 style="text-align: center; margin-left: 20px; margin-right: 20px;">
Languages Used: C++, HTML, CSS, Javascript, Perl Data Language
</h5>
<p style="text-align: center; margin-left: 20px; margin-right: 20px;">
As a part of my software engineering internship at Google, I have had the chance to contribute to
the open-source
Chromium project. Initially, my initial project was to mitigate Chrome crashes happening in DevTools
and
chrome://serviceworker-internals when a user has too many service worker registrations.
</p>
<p style="text-align: center; margin-left: 20px; margin-right: 20px;">
Initially to get used to contribute to Chromium, I helped my manager on his ongoing project to move
the service
worker storage to use a mojo interface. I have also been working on improving the code health of the
service
worker codebase, such as using preferred data types, changing to less thread hopping, and removing
unnecessary
data structures among other things.
</p>
<p style="text-align: center; margin-left: 20px; margin-right: 20px;">
My main project became much bigger and higher priority when more bug reports starting coming in,
which showed
that the crashes were not only happening in DevTools and the internal page, but also on browser
startup which
was alarming. We found the root function causing the issue, which was retrieving all registrations.
I have been
working on changing all the relevant call sites and use cases of this function, by writing design
docs and making
changes to how these registrations are read based on how the information is used. Most of these
changes will be
included in Chrome M85/M86.
</p>
<p style="text-align: center; margin-left: 20px; margin-right: 20px;">
Working on such a big open-source project like Chrome has also been an invaluable experience in
itself because
of the fast-paced nature of how things change. I have also been privileged that I have gotten to
work on a
project that became high priority, as well as, getting the opportunity to have my work reviewed by
some very
important people in the company.
</p>
<!-- <p style="text-align: center; margin-left: 20px; margin-right: 20px;">
<b>See more at: <a href="https://chromium-review.googlesource.com/q/owner:+nidhijaju">Chromium CLs</a></b>
</p> -->
</div>
<!-- <a href="assets/img/chrome-popup.png" data-gall="portfolioGallery" class="venobox"> -->
<a href="#chrome-inline-content" class="venobox" data-gall="portfolioGallery" data-vbtype="inline">
<div class="work-img">
<img src="assets/img/chrome-project.jpg" alt="" class="img-fluid">
</div>
<div class="work-content">
<div class="row">
<div class="col-sm-8">
<h2 class="w-title">Chromium Project Contributions</h2>
<div class="w-more">
<span class="w-ctegory">Open-source, Software Engineering</span> / <span class="w-date">July
2020</span>
</div>
</div>
<div class="col-sm-4">
<div class="w-like">
<span class="ion-ios-plus-outline"></span>
</div>
</div>
</div>
</div>
</a>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment