4 ms·
Out of interest, how did you arrive at the 20-50x speedup numbers?
by voidUpdate 9mo ago
Out of interest, how did you arrive at the 20-50x speedup numbers?
- lifetimerubyist 9mo agovibes, obviously
- deleted 9mo ago[deleted]
- EGreg 9mo agoCherrypicking the most tedious parts, like boilerplate to get up and running, or porting code to other adapters (making mysqlite and postgres adapters for instance) This was done in about 3 hours for instance: https://github.com/Qbix/Platform/tree/refactor/DbQuery/platform/classes/Db https://github.com/Qbix/Platform/tree/refactor/DbQuery/platf... You can see the speed for yourself. Here is my first speedrun livestreamed: https://www.youtube.com/watch?v=Yg6UFyIPYNY https://www.youtube.com/watch?v=Yg6UFyIPYNY
- stefanfisk 9mo agoThat code has a lot of smell IMHO :/ What's the rationale behind writing PHP as if it was JS? Unless I am mistaken it's like someone just did a transliteration from JS to PHP without even converting the JSDoc to PHPDoc. And are there any tests for the code?
- EGreg 9mo agoI actually based it on an existing PHP adapter for MySQL. Together with the AI, I went over all the features that needed refactoring, and what would work in Postgres and Sqlite the same way, etc. There were a ton of nuances.
- jononor 9mo agoWhy not merged to main? What is the definition of done being applied here?
- EGreg 9mo agoThe code is stable and partially tested. Needs a lot more testing before committing it to main. This is mainly because the primary ORM adapter for MySQL has been rewritten, and a lot of apps use it. I think in 2026 the automation will reach the testing, closing the loop. At that point, no humans in the loop will make software development extremely fast.
- voidUpdate 9mo agoSo your actual output has not increased by 20-50x, just some parts of it? What's your speedup like over an entire project, not just cherrypicked parts?
- EGreg 9mo agoI think those parts were the big bottleneck, so technically, yes it has.