Public Sector Case Studies
Learn how departments, agencies, and ministries are building a modern, digital, data-driven mission on the cloud.
- Publications
Responsible Use of Technology: The Salesforce Case Study
The World Economic Forum Responsible Use of Technology project aims to help bring the worlds of business, civil society and government together by providing leaders with practical tools to: 1) educate and train their employees to think more about responsible technology, 2) design their organization to promote more ethical behaviour and outcomes, and 3) design and develop more responsible technology products.
This case study is the third in a series publicly presenting major technology companies’ ethics and responsible technology efforts. The report goes deep into the story of operationalizing technology ethics within Salesforce, a company that, from the start, has prided itself on emphasizing ethics, inclusion, accessibility and making a positive impact but has still experienced a need to grow as the technology and surrounding society changed. Through collaboration with Salesforce employees and an examination of many of their ethics resources, this paper reveals the process of transformation that took place at Salesforce and how the operationalization of ethics became institutionalized through the Office of Ethical and Humane Use of Technology. The journey of improvement is never complete, and the field of corporate technology ethics is changing quickly. The purpose of these case studies is not to elevate these companies as unreachable paragons of virtue – indeed, in each case, it was a stumble that led each company towards further growth. Rather, the hope is that by sharing their experiences of making technology ethics “real” in their contexts, those shared experiences might help others who wish to engage in similar efforts.
World Economic Forum reports may be republished in accordance with the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License , and in accordance with our Terms of Use .
- Marketing Cloud
Experiences
Access Trailhead, your Trailblazer profile, community, learning, original series, events, support, and more.
Salesforce Developers Blog
Case Study: DreamHouse Gains Speed by Switching to LWC
- Playback Speed
DreamHouse is a sample application used by Salesforce to showcase how building complex business applications can be quickly accomplished by using the Salesforce platform. It is a fictitious real-estate company providing brokers a way to manage their properties and customers to find their dream house. Despite the app being fictitious, it is a fully functional app that was built with Lightning Aura Components.
In this blog post, we’ll look into a case study of how the DreamHouse sample app was used to compare the performance of Aura Components and Lightning Web Components (LWC).
A standard way of measuring performance of web UI frameworks has traditionally been using micro-benchmarks such as js-framework-benchmark that perform various actions while measuring time those actions took. These benchmarks can easily be fine-tuned (or as some would say gamed) such that results are favorable to that framework. Some of the techniques used in such fine-tuning are intrinsic internal functionality known only to the framework developers – something that most of developers out there would not be aware of.
With the announcement of Lightning Web Components (LWC), a new programming model for building Lightning components, came the highly anticipated performance gains of the framework. While LWC showed promising performance benefits over Aura in micro-benchmarks, the Lightning Platform Performance team was concerned with how these micro-benchmarks would be reflected in a realistic scenario, such as in a fully-functioning Salesforce app.
The Lightning Platform Performance team took on a challenge of converting portions of DreamHouse app with Lightning Web Components and comparing its measured performance to the functionally and visually-equivalent app built with Aura components.
As a performance metric for measuring page load time, Lightning Platform chose their standard and well-understood metric called Experienced Page Time (EPT). In simple terms, it measures the amount of time taken to load a page from the point a user clicks to navigate to a page until that page is fully loaded. The measurements were performed in Lightning Platform’s performance lab. For more information on EPT, please refer to Understanding Experience Page Time post.
In this exercise, the Lightning Platform Performance team chose to convert select two key pages of the DreamHouse due to their complexity. The following pages have the most complex components, making them ideal candidates for the conversion as they would benefit the most from LWC’s performance.
For the optimal ROI (balance between time invested and performance gains), the components were converted in the simplest way possible. This meant that markup and code was altered just enough for them to be compatible with LWC without any major tweaking or refactoring.
Overall, 22 components across the two pages were converted from Aura to LWC.
As a result of converting DreamHouse from Aura to LWC, not only was the development experience far more aligned with current web front-end development standards and patterns, but the performance gains are significant. Lab measurements showed gains in the range of 2.4 percent to 63 percent .
Key: Cold Cache State = page loaded for first time in a clean browser session (no cookies, http cache, indexdb, etc) Warm Cache State = page loaded after previously being on that same page (record data, layout, etc. comes from cache)
- DreamHouse app with Aura components
- DreamHouse app with LWC components
- Trailhead Sample Gallery
- Trailhead Module: Lightning Web Components for Aura Developers
Get the latest Salesforce Developer blog posts and podcast episodes via Slack or RSS.
More blog posts.
Unlocking Aura-to-LWC Migration at Salesforce
Lightning Experience with Lightning Speed (Are We There Yet?)
Top Improvements Developers Want to See in LWC — Add Your Voice Today!
Customer Success Stories
Stories in the spotlight..
Customer Story
Create fans for life. see how the afl is growing engagement..
R.M.Williams applies its craft to create a premium customer experience at every touchpoint
Automation keeps Spotify's ad business growing year over year.
Watch salesforce customers in action., explore all our customer stories., filter stories.
- Business Services
- Communications
- Consumer Goods
- Financial Services
- Healthcare and Life Sciences
- Manufacturing
- Media and Entertainment
- Transportation
- Hospitality
- Professional Services
- Energy and Utilities
- Sales Cloud
- Service Cloud
- Marketing Cloud
- Commerce Cloud
- Salesforce Platform
- CRM Analytics
- Experience Cloud
- Financial Services Cloud
Business Size
- Small Midsize Business
Business Type
Customer success group.
- Signature Success Plan
- Premier Success Plan
Questions? We’ll put you on the right path.
Ask about Salesforce products, pricing, implementation, or anything else. Our highly trained reps are standing by, ready to help.
Questions? Call us at 1800 667 638 (AU), 0800 450 064 (NZ).
IMAGES
VIDEO
COMMENTS
Our Trailblazers are succeeding in growing their business. Read their stories and how they did it. Contact us to request a free demo.
Salesforce Case Studies. Public Sector Case Studies. Learn how departments, agencies, and ministries are building a modern, digital, data-driven mission on the cloud. Regions. AMER. US …
Browse 506 case studies of Salesforce customers across various industries and regions. Learn how Salesforce helps them improve customer service, sales, marketing, and more.
St. James’ Place maintains a thorough understanding of their clients’ financial needs and aspirations and is committed to offering bespoke advice, covering insurance solutions, …
The process of acquiring, onboarding, and activating partners to the Policygenius platform is high touch, complex, and could not be sustained without the right technology. In addition to a …
Delivering messages without oversaturating the channel. Salesforce.com, the enterprise cloud computing company, has built a solid reputation for the quality of its events, including …
Through collaboration with Salesforce employees and an examination of many of their ethics resources, this paper reveals the process of transformation that took place at Salesforce and how the operationalization of …
DreamHouse is a sample application used by Salesforce to showcase how building complex business applications can be quickly accomplished by using the Salesforce platform. It is a fictitious real-estate company providing brokers a …
Watch Salesforce customers in action. Get inspired by Trailblazers who are transforming their business, changing the world, and shaping the future with Salesforce. Explore all our customer stories.