SamplingProfiler 1.8.1
A new version 1.8.1 is available from the SamplingProfiler page.
This minor updates fixes the displayed source code for samples gathered on a generic method (“Show Source Location” option) and other minor fixes.
A new version 1.8.1 is available from the SamplingProfiler page.
This minor updates fixes the displayed source code for samples gathered on a generic method (“Show Source Location” option) and other minor fixes.
[This is a guest post, written by Primož Gabrijelčič, www.
One thing interested me since I started reading Eric’s series on string concatenation performance – how would different memory managers compare in a multi-threaded scenario. Today I decided to spend an hour finding out…
edit 18/11: the tests were run with debug mode, which affected TTextWriter very negatively (TWOBS is also affected a negatively, but less, and StringBuilder and Trivial aren’t affected much). I’ll be repeating tests with more memory managers and in more stable conditions in the next few weeks.
By popular request, here is the source code used for the previous String benchmarks StringConcatBench.zip, essentially to test alternative memory managers.
The source is nothing complicated as you will see, just a set of simple function with the test cases, and a couple function that measure run times.
After looking at String concatenation and String Building in Delphi, and as a conclusion, it’s time to have a brief look at what happens in multi-threaded settings, such as in a server pushing JSON, XML or some other text data.
Time for some Halloween silliness: here is a quick & dirty JavaScript to pimp your website, blog or whatever with a randomly moving vampire bat animation.
Or a dozen. Or a whole flock.