Profile cover photo
Profile photo
Maran Pakkirisamy
126 followers
126 followers
About
Posts

Post has attachment
Add a comment...

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Talks I like: Value semantics

What is value-type? How to approximate a abstract mathematical type (for eg. int) to a c++ type? How do you compare 2 objects of a value type? Listen to this great talk by John Lakos.

Here is my notes on the talk. The notes could be useful for a quick glance but will not make complete sense without watching the video.
https://maranp.github.io/a-talk-on-value-sematics/

https://www.youtube.com/watch?v=AL9DBWdj-Pg
Add a comment...

Post has attachment
Talks I like #1

The performance Addict's Toolbox - Peter Steinbach - Meeting C++ 2017

Summary:
performance outside - in
- find performance regression without looking at the code
- dd if=/dev/zero of=/tmp/just_zeroes bs=1G count=2
* how fast is the builtin hardrive
- dd if=/dev/zero of=/dev/shm/just_zeroes bs=1G count=2
* how fast is the RAM?
- a breif into to Linux perf
- illustration of framegraph with perf

performance inside - out
- look at the code and find performance regression
- brief introduction to gprof, perftools(google), valgrid - kcachegrind
- hotspot - a open source tool
* based on perf system and uses flamegraph

Found a hotspot - identified a function that cause performance regression. What to do now?
- use compiler explorer(https://godbolt.org/), use perf
- insufficiency of perf
* tied to linux kernel and the built perf should be compatible with the Linux kernel
* performance counters are not portable (counters in x86 may not be found in aarch64)
- ocperf - that addresses mentioned issues of perf - based on perf
- likwid - for Linux on Intel/AMD
* at the core is perf
* markup the source code with likwid apis and the tool will collect perf. counters
only from markedup source code
* illustration of how false sharing(of cache lines) could affect performace
in multi-threaded program with the use of likwid
- writing benchmarks
* illustrations for writing simple and advanced benchmarks (using google benchmark
https://github.com/google/benchmark)
* introduction to quick-bench, a tool, as cool as compiler explorer by Godbolt

Link: https://www.youtube.com/watch?v=DxP--1yEgKQ
Add a comment...

Post has attachment

Post has attachment

Post has attachment

Post has shared content
Wait while more posts are being loaded