<FromGitter>
<pynixwang> why crystal so slow in this benchmark.
<FromGitter>
<Blacksmoke16> i mean its not that slow
<FromGitter>
<Blacksmoke16> 28ms avg is still really good
<FromGitter>
<pynixwang> should be 28us
<FromGitter>
<Blacksmoke16> ok
vivus has quit [Remote host closed the connection]
<FromGitter>
<nsuchy> @pynixwang Are you working on the nuclear grid? I doubt 28ms response is harming anything
<FromGitter>
<nsuchy> that's faster than what most enterprise applications give you
<pracabor>
it's also approaching the network latency of just connecting to most websites
<FromGitter>
<Blacksmoke16> there is a big difference between a framework built for just speed and one that is actually useful
<FromGitter>
<Blacksmoke16> if you can sacrifice some speed for ease of development, its something id rather do
<FromGitter>
<Blacksmoke16> the avg person using your app isnt going to notice the difference between 50 and 100 ms, benchmarks will sure, but thats hardly real world
<FromGitter>
<nsuchy> my friend's mario database can add hacks again
<FromGitter>
<nsuchy> :D
<pracabor>
\o/
<FromGitter>
<nsuchy> pretty sure that I can safely say we're the only mario database in the world written in Crystal/Amber
<FromGitter>
<nsuchy> before that it was ruby on rails but I heard about crystal and how the compiler reduced the amount of runtime errors and I gave it a shot
<FromGitter>
<nsuchy> this is awesome but postgres is confusing
<FromGitter>
<Blacksmoke16> but its not really related to granite
<FromGitter>
<Blacksmoke16> you would have to query the underlying database using the queries you did every time a record is saved
<FromGitter>
<nsuchy> How about only do that query in the event it fails to save
<FromGitter>
<damianham> @nsuchy these are the kind of things you have to take care of when migrating databases
<FromGitter>
<Blacksmoke16> its not really granite's responsibility to make sure the underlying database was setup properly
<FromGitter>
<damianham> it would be completely wrong for a web framework to take care of database migration issues
<FromGitter>
<Blacksmoke16> ^
<FromGitter>
<Blacksmoke16> it would be different if granite *did* the migration
<FromGitter>
<Blacksmoke16> then this would be a bug of not copying the sequence over, but since that happened outside of it, its not something i think we should worry about
<FromGitter>
<damianham> nope
<FromGitter>
<nsuchy> Hmm okay
<FromGitter>
<nsuchy> Well it’s fixed now so it’s unlikely to be an issue again
<FromGitter>
<Blacksmoke16> exactly
<FromGitter>
<nsuchy> By chance is there a Markdown to HTML parser in Crystal?
<FromGitter>
<nsuchy> Or would I need to write my own?
<FromGitter>
<nsuchy> Adding discussion-board-like functionality to my app and if something already exists it'd save me some time