---
title: "Meaning & Key Takeaway of: Exercise 1.3: Experiment to measure the…"
description: "\"“Exercise 1.3: Experiment to measure the difference in running time between our potentially inefficient versions and the one that uses strings.Join. (S..."
image: "https://sms4smile.com/quotes/i/945/alan-a-a-donovan-81193_benchmark_exercise-1-3-experiment-to-measure-the-d_701354.jpg"
---

#  Exercise 1.3: Experiment to measure the difference in…

![“Exercise 1.3: Experiment to measure the difference in running time between our potentially inefficient versions and the one that uses strings.Join. (Section 1.6 illustrates part of the time package, and Section 11.4 shows how to write benchmark tests for systematic performance evaluation.)” quote by Alan A. A. Donovan](https://sms4smile.com/quotes/i/945/alan-a-a-donovan-81193_benchmark_exercise-1-3-experiment-to-measure-the-d_701354.jpg)   [Download](https://sms4smile.com/quotes/i/945/alan-a-a-donovan-81193_benchmark_exercise-1-3-experiment-to-measure-the-d_701354.jpg) [Open image](https://sms4smile.com/quotes/i/945/alan-a-a-donovan-81193_benchmark_exercise-1-3-experiment-to-measure-the-d_701354.jpg)

> ““Exercise 1.3: Experiment to measure the difference in running time between our potentially inefficient versions and the one that uses strings.Join. (Section 1.6 illustrates part of the time package, and Section 11.4 shows how to write benchmark tests for systematic performance evaluation.)””

Alan A. A. Donovan

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

The passage describes a benchmark experiment comparing inefficient code against an optimized version using strings.Join to illustrate performance measurement.

**In simple terms:** Compare slow code with faster code using strings.Join.

Key Takeaway

Run benchmarks to see real speed gains.

Themes

performance benchmarking optimization programming efficiency

Mood

analytical instructive

Type

educational technical

When to use this quote

- software development
- code review
- performance tuning
- learning Go
- teaching programming

Key Concepts

algorithmic complexity profiling Go language

Questions to Reflect On

- How does string concatenation affect runtime?
- When should you trust benchmark results?

A Different Perspective

Benchmarks may not reflect real-world workloads or hardware variations.

★ ★ ★ ★ ★   No ratings yet

[Benchmark](https://sms4smile.com/quotes/about/benchmark/) [Fitness](https://sms4smile.com/quotes/about/fitness/) [Technology](https://sms4smile.com/quotes/about/technology/) [Time](https://sms4smile.com/quotes/about/time/)

## Related quotes

> [You should ask for a performance evaluation. Ask your boss, where do I stand? I need to know what I can do better and…](https://sms4smile.com/quotes/suzy-welch/you-should-ask-for-a-performance-evaluation-ask-your-boss-where-do-i/)

[Suzy Welch](https://sms4smile.com/quotes/author/suzy-welch/)

> [I've witnessed first hand the impact the Benchmark team has had on new ventures, and I believe their commitment to the entrepreneur and dedication…](https://sms4smile.com/quotes/mitch-lasky/i-ve-witnessed-first-hand-the-impact-the-benchmark-team-has-had-on/)

[Mitch Lasky](https://sms4smile.com/quotes/author/mitch-lasky/)

> [“Always give your best; today's great work is tomorrow's benchmark.”](https://sms4smile.com/quotes/ifeanyi-enoch-onuoha/always-give-your-best-today-s-great-work-is-tomorrow-s-benchmark/)

[Ifeanyi Enoch Onuoha](https://sms4smile.com/quotes/author/ifeanyi-enoch-onuoha/)

> [I think when romantic comedies are done well, it's a great genre. 'When Harry Met Sally' is kind of a benchmark for me, but…](https://sms4smile.com/quotes/jamie-dornan/i-think-when-romantic-comedies-are-done-well-it-s-a-great-genre-when/)

[Jamie Dornan](https://sms4smile.com/quotes/author/jamie-dornan/)

> [“In the Human society, we don’t have sticks. Here, an ideal leader is the person who develops the group and encourages them. It is…](https://sms4smile.com/quotes/steve-peters/in-the-human-society-we-don-t-have-sticks-here-an-ideal-leader-is-the/)

Steve Peters

> [“Remember this: You are the benchmark of your success - you define it. Don't let anyone else define it because if you do, you…](https://sms4smile.com/quotes/martina-navratilova/remember-this-you-are-the-benchmark-of-your-success-you-define-it-don/)

[Martina Navratilova](https://sms4smile.com/quotes/author/martina-navratilova/)

> [“The Timeline of a Life being Long or Short, is Computed on the Benchmark of How You Live It...”](https://sms4smile.com/quotes/saurabh-dudeja/the-timeline-of-a-life-being-long-or-short-is-computed-on-the/)

[Saurabh Dudeja](https://sms4smile.com/quotes/author/saurabh-dudeja/)

> [My films have always been considered the benchmark in action. I have a big responsibility to shoulder.](https://sms4smile.com/quotes/sunny-deol/my-films-have-always-been-considered-the-benchmark-in-action-i-have-a/)

[Sunny Deol](https://sms4smile.com/quotes/author/sunny-deol/)

> [“To be the best, you are required to benchmark yourself against something greater than what you are now.”](https://sms4smile.com/quotes/hinesh-vithal/to-be-the-best-you-are-required-to-benchmark-yourself-against/)

[Hinesh Vithal](https://sms4smile.com/quotes/author/hinesh-vithal/)

> [I've got nothing but love and respect for Cube. When I started, he was my benchmark.](https://sms4smile.com/quotes/b-real/i-ve-got-nothing-but-love-and-respect-for-cube-when-i-started-he-was/)

[B-Real](https://sms4smile.com/quotes/author/b-real/)

> [If you say someone is good, at something, what is your benchmark? Who are you comparing them with? When evaluating capability, or success, in…](https://sms4smile.com/quotes/strive-masiyiwa/if-you-say-someone-is-good-at-something-what-is-your-benchmark-who/)

[Strive Masiyiwa](https://sms4smile.com/quotes/author/strive-masiyiwa/)

> [We still haven't played Madison Square Garden. That's a benchmark. Something will have gone seriously wrong if we don't play Madison Square Garden for…](https://sms4smile.com/quotes/dan-hawkins/we-still-haven-t-played-madison-square-garden-that-s-a-benchmark/)

[Dan Hawkins](https://sms4smile.com/quotes/author/dan-hawkins/)

> [You can muck around with different guitars for certain bits, but you have to have your own sound. That's your benchmark, that's your sound.…](https://sms4smile.com/quotes/dan-hawkins/you-can-muck-around-with-different-guitars-for-certain-bits-but-you/)

[Dan Hawkins](https://sms4smile.com/quotes/author/dan-hawkins/)

> [I didn't realize how slow my four-year-old MacBook was until the web team wanted to start using it as the benchmark for a slow…](https://sms4smile.com/quotes/chris-milk/i-didn-t-realize-how-slow-my-four-year-old-macbook-was-until-the-web/)

[Chris Milk](https://sms4smile.com/quotes/author/chris-milk/)

> [If the American government can't stand behind the dollar, the world's benchmark currency, then the global financial system will very likely enter a new…](https://sms4smile.com/quotes/adam-davidson/if-the-american-government-can-t-stand-behind-the-dollar-the-world-s/)

[Adam Davidson](https://sms4smile.com/quotes/author/adam-davidson/)

## More by Alan A. A. Donovan

> [“Go does not permit unused local variables, so this would result in a compilation error.”](https://sms4smile.com/quotes/alan-a-a-donovan/go-does-not-permit-unused-local-variables-so-this-would-result-in-a/)

Alan A. A. Donovan

> [“The first form, a short variable declaration, is the most compact, but it may be used only within a function, not for package-level variables.”](https://sms4smile.com/quotes/alan-a-a-donovan/the-first-form-a-short-variable-declaration-is-the-most-compact-but/)

Alan A. A. Donovan

Explore all 3 Alan A. A. Donovan quotes

## More Benchmark quotes

> [I've witnessed first hand the impact the Benchmark team has had on new ventures, and I believe their commitment to the entrepreneur and dedication…](https://sms4smile.com/quotes/mitch-lasky/i-ve-witnessed-first-hand-the-impact-the-benchmark-team-has-had-on/)

[Mitch Lasky](https://sms4smile.com/quotes/author/mitch-lasky/)

> [I didn't realize how slow my four-year-old MacBook was until the web team wanted to start using it as the benchmark for a slow…](https://sms4smile.com/quotes/chris-milk/i-didn-t-realize-how-slow-my-four-year-old-macbook-was-until-the-web/)

[Chris Milk](https://sms4smile.com/quotes/author/chris-milk/)

> [You can muck around with different guitars for certain bits, but you have to have your own sound. That's your benchmark, that's your sound.…](https://sms4smile.com/quotes/dan-hawkins/you-can-muck-around-with-different-guitars-for-certain-bits-but-you/)

[Dan Hawkins](https://sms4smile.com/quotes/author/dan-hawkins/)

> [We still haven't played Madison Square Garden. That's a benchmark. Something will have gone seriously wrong if we don't play Madison Square Garden for…](https://sms4smile.com/quotes/dan-hawkins/we-still-haven-t-played-madison-square-garden-that-s-a-benchmark/)

[Dan Hawkins](https://sms4smile.com/quotes/author/dan-hawkins/)

> [If you say someone is good, at something, what is your benchmark? Who are you comparing them with? When evaluating capability, or success, in…](https://sms4smile.com/quotes/strive-masiyiwa/if-you-say-someone-is-good-at-something-what-is-your-benchmark-who/)

[Strive Masiyiwa](https://sms4smile.com/quotes/author/strive-masiyiwa/)

> [I've got nothing but love and respect for Cube. When I started, he was my benchmark.](https://sms4smile.com/quotes/b-real/i-ve-got-nothing-but-love-and-respect-for-cube-when-i-started-he-was/)

[B-Real](https://sms4smile.com/quotes/author/b-real/)

> [“To be the best, you are required to benchmark yourself against something greater than what you are now.”](https://sms4smile.com/quotes/hinesh-vithal/to-be-the-best-you-are-required-to-benchmark-yourself-against/)

[Hinesh Vithal](https://sms4smile.com/quotes/author/hinesh-vithal/)

> [My films have always been considered the benchmark in action. I have a big responsibility to shoulder.](https://sms4smile.com/quotes/sunny-deol/my-films-have-always-been-considered-the-benchmark-in-action-i-have-a/)

[Sunny Deol](https://sms4smile.com/quotes/author/sunny-deol/)

> [“The Timeline of a Life being Long or Short, is Computed on the Benchmark of How You Live It...”](https://sms4smile.com/quotes/saurabh-dudeja/the-timeline-of-a-life-being-long-or-short-is-computed-on-the/)

[Saurabh Dudeja](https://sms4smile.com/quotes/author/saurabh-dudeja/)

> [“Remember this: You are the benchmark of your success - you define it. Don't let anyone else define it because if you do, you…](https://sms4smile.com/quotes/martina-navratilova/remember-this-you-are-the-benchmark-of-your-success-you-define-it-don/)

[Martina Navratilova](https://sms4smile.com/quotes/author/martina-navratilova/)

> [“In the Human society, we don’t have sticks. Here, an ideal leader is the person who develops the group and encourages them. It is…](https://sms4smile.com/quotes/steve-peters/in-the-human-society-we-don-t-have-sticks-here-an-ideal-leader-is-the/)

Steve Peters

> [I think when romantic comedies are done well, it's a great genre. 'When Harry Met Sally' is kind of a benchmark for me, but…](https://sms4smile.com/quotes/jamie-dornan/i-think-when-romantic-comedies-are-done-well-it-s-a-great-genre-when/)

[Jamie Dornan](https://sms4smile.com/quotes/author/jamie-dornan/)

> [“Always give your best; today's great work is tomorrow's benchmark.”](https://sms4smile.com/quotes/ifeanyi-enoch-onuoha/always-give-your-best-today-s-great-work-is-tomorrow-s-benchmark/)

[Ifeanyi Enoch Onuoha](https://sms4smile.com/quotes/author/ifeanyi-enoch-onuoha/)

> [If the American government can't stand behind the dollar, the world's benchmark currency, then the global financial system will very likely enter a new…](https://sms4smile.com/quotes/adam-davidson/if-the-american-government-can-t-stand-behind-the-dollar-the-world-s/)

[Adam Davidson](https://sms4smile.com/quotes/author/adam-davidson/)

> [Benchmark your performance against your best competitors. Think how you can beat them next time.](https://sms4smile.com/quotes/brian-tracy/benchmark-your-performance-against-your-best-competitors-think-how/)

[Brian Tracy](https://sms4smile.com/quotes/author/brian-tracy/)

[Browse all 28 Benchmark quotes ](https://sms4smile.com/quotes/about/benchmark/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Exercise 1.3: Experiment to measure the difference in running time between our potentially inefficient versions and the one that uses strings.Join. (Section 1.6 illustrates part of the time package, and Section 11.4 shows how to write benchmark tests for systematic performance evaluation.)”",
            "creator": {
                "@type": "Person",
                "name": "Alan A. A. Donovan"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/alan-a-a-donovan/exercise-1-3-experiment-to-measure-the-difference-in-running-time/",
            "about": {
                "@type": "Thing",
                "name": "Benchmark"
            },
            "@id": "https://sms4smile.com/quotes/alan-a-a-donovan/exercise-1-3-experiment-to-measure-the-difference-in-running-time/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/945/alan-a-a-donovan-81193_benchmark_exercise-1-3-experiment-to-measure-the-d_701354.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/945/alan-a-a-donovan-81193_benchmark_exercise-1-3-experiment-to-measure-the-d_701354.jpg",
                "url": "https://sms4smile.com/quotes/i/945/alan-a-a-donovan-81193_benchmark_exercise-1-3-experiment-to-measure-the-d_701354.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Exercise 1.3: Experiment to measure the difference in running time between our potentially inefficient…” — Alan A. A. Donovan",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Alan A. A. Donovan",
                    "item": "https://sms4smile.com/quotes/author/alan-a-a-donovan/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Exercise 1.3: Experiment to measure the difference...",
                    "item": "https://sms4smile.com/quotes/alan-a-a-donovan/exercise-1-3-experiment-to-measure-the-difference-in-running-time/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/alan-a-a-donovan/exercise-1-3-experiment-to-measure-the-difference-in-running-time/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
