Posted
almost 10 years
ago
by
Chris Strom ([email protected])
It seems that my benchmarks may be hitting a garbage collection limit somewhere along the way. Or something.I continue to benchmark three (slightly) different implementations of the Visitor Pattern in Dart. The actual goal is reasonable assurance
|
Posted
almost 10 years
ago
by
Luiz Mineo ([email protected])
Accessing a database is problably the most common task of any web application. Nevertheless, a poor database connection management is also one of the most common source of problems you can find in a server, like slowness, freezes and crashs. In this
|
Posted
almost 10 years
ago
by
Chris Strom ([email protected])
For the second day in a row, I have to come clean on a dumb mistake. Benchmarks have a particular knack for doing me in, it would seem. And, as hard as I might try to rationalize the numbers that do not fit my world view, eventually the numbers get
|
Posted
almost 10 years
ago
by
Chris Strom ([email protected])
tl;dr You may regret reading this post. I am grateful that I wrote it because I wound up correctly a major problem in my thinking because of a dumb mistake, but it was a really dumb mistake....At the risk of overdoing my benchmark exploration for
|
Posted
almost 10 years
ago
by
Chris Strom ([email protected])
After last night, I am happy to have a new benchmark reporter that does not report 16 digits of precision when times vary after 3 digits:$ ./tool/benchmark.dart; \ echo '--'; \ ./tool/benchmark_single_dispatch_iteration.dart; \ echo '--'; \
|
Posted
almost 10 years
ago
by
Chris Strom ([email protected])
I continue to explore benchmarking design patterns for Design Patterns in Dart. I am still in the preliminary stages of research for the book so the actual benchmarks are not as important as how I want to benchmark. The simple answer is to use
|
Posted
almost 10 years
ago
by
Luiz Mineo ([email protected])
Hey everyone! Welcome to the new Redstone.dart blog :) Recently, I've received a lot of feedback and questions about Redstone through many different channels, such as github, google plus, hangouts, e-mail and so on. It's really cool to see other
|
Posted
almost 10 years
ago
by
Chris Strom ([email protected])
I learned a good lesson last night in regards to benchmarking Dart code: keep everything separate. Keep the different benchmark harnesses in separate scripts. I think it also a good idea to keep the implementations being benchmarked in separate
|
Posted
almost 10 years
ago
by
Chris Strom ([email protected])
I think I am nearly done with my exploration of the Visitor Pattern for Design Patterns in Dart (at least the early research). I do not feel as though I have put nearly as much effort into it as I did the Factory Method Pattern though. So, at the
|
Posted
almost 10 years
ago
by
Chris Strom ([email protected])
I have felt the pain of adding new nodes and structure in the Dart version of the Visitor Pattern, but I have yet to try the opposite. Tonight, I try adding a new Visitor in the hopes that the pattern really does make this easy.All indications are
|