justforfunc #28: Basic Benchmarks

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 27

  • @LuisFernandoGaido
    @LuisFernandoGaido 7 лет назад +15

    I love just for func. It must be in netflix!

  • @musale2277
    @musale2277 7 лет назад +1

    I learned so much about the benchmarks. It's really interesting how you work with VS Code. This series was full of new things for me.

  • @dn5426
    @dn5426 7 лет назад +10

    wish I was that productive with my tools

  • @VsMVids
    @VsMVids 7 лет назад +2

    func (b *B) StartTimer()
    func (b *B) StopTimer()
    Could also be useful to isolate the different merge calls from the channel initialization (asChan).
    In your case, as you compare, it doesn't really matter, but in the cases you want absolute measurements, it becomes useful.
    It's also so easy to use, that could have been part of this already great video :).

    • @JustForFunc
      @JustForFunc  7 лет назад

      +VS VS yeah, the video was already long enough but if you ready the code you'll see I used them (it changed by around 10% in the largest case)

    • @VsMVids
      @VsMVids 7 лет назад

      I should have been less lazy and read the repo as well! keep up the great work Francesc!

  • @MariaShodunke
    @MariaShodunke 6 лет назад +1

    awesome video, learned so much in one video haha. I just found the channel, love the name.
    Keep em coming! :)

  • @mason.elmore
    @mason.elmore 7 лет назад

    Awesome video! I've been going through "The Go Programming Language," and I never thought to use []struct to test/bench multiple solutions for one exercise.

  • @pjox
    @pjox 7 лет назад +1

    Amazing and useful as always, thank you so much for making this content! I wanted to make a small suggestion however, the audio has too much echo. I was going to suggest you put curtains or foam in the office but that might be difficult and expensive. Then I realized you are actually using a lavalier microphone, so the solution to this echo might be as easy as changing the position of the microphone or changing the configuration of the recorder. Other than that everything is perfect, thank you for teaching me so much, I am forever grateful.

    • @JustForFunc
      @JustForFunc  7 лет назад +1

      Yeah, I've been having issues recording good quality while traveling is not easy

  • @Goodvvine
    @Goodvvine 7 лет назад +4

    Woah, didn't know about b/t.Run, I'll start using that.
    BTW, you should consider making your PiP smaller sometimes
    Could you create a video explaining mocking/faking things for tests? (or.. do you already have or recommend one?)

  • @AlfredZhong
    @AlfredZhong 7 лет назад

    Another good video. Always looking forward to next.

  • @FranklinHarding
    @FranklinHarding 7 лет назад

    Thanks for the video! As usual, great. I'm curious, could you use go generate to make merge work with many types instead of just chan int (eg. chan string, chan struct{})? That would be a really cool video.

  • @unique1o1-g5h
    @unique1o1-g5h 4 года назад

    for n=number of int channel
    isn't its (n-1) goroutine for mergeRec?

  • @utkarshmanitripathi5818
    @utkarshmanitripathi5818 6 лет назад

    Hi can you please make a video on closures in golang.I really don't understand the difference.

  • @sergdudk
    @sergdudk 7 лет назад

    Thank you very much, Francesc!

  • @rodolforodriguez9681
    @rodolforodriguez9681 6 лет назад

    WHERE DID YOU GET THE MARGARET HAMILTON POSTER? I WANT

  • @zsuzhengdu
    @zsuzhengdu 3 года назад

    Can nil be used to replace github.com/campoy/justforfunc/blob/master/27-merging-chans/main.go#L78-L80?

  • @InfernoAlex72
    @InfernoAlex72 7 лет назад

    Excellent!
    Thank you!

  • @TomasAugust
    @TomasAugust 7 лет назад +2

    Thank you

  • @easternsunking255
    @easternsunking255 6 лет назад

    could u make a video to explain the trace graph in detail ? i follow your blog(medium.com/justforfunc/using-the-go-execution-tracer-to-speed-up-fractal-rendering-c06bb3760507) to trace my own program, but when i got the trace graph ,there are so many infomation ,so many colour pieces in there , i just did not know how to analize it, how to find the core point.

  • @markzelougarces7595
    @markzelougarces7595 4 года назад

    you are just so cool man :)

  • @DarthDolphi
    @DarthDolphi 7 лет назад

    Thank you!

  • @konstantin8105L
    @konstantin8105L 7 лет назад

    Thank you