platform desktop apps with JavaScript, HTML, and CSS • Support macOS, Windows ia32 and x64, Linux ( Ubuntu 12.04 and later, Fedora 21, Debian 8 ) • Started at April 11, 2013, created by Cheng Zhao, now developed by Github • Written in C++, Python and JavaScript • Node.js runtime for the backend, Chromium for the frontend
the word • Cross-platform • Stand-alone or self-contained • Serverless • Zero-configuration • Written in C ( also a JavaScript port version called sql.js )
meet expectations • Reduce queries, create multiple instances at once instead of creating one by one • Apply correct index on table • Make sure SQLite is built successfully across different OS How to improve write speed ?
one Actually, SQLite will easily do 50,000 or more INSERT statements per second on an average desktop computer. But it will only do a few dozen transactions per second. Transaction speed is limited by the rotational speed of your disk drive. A transaction normally requires two complete rotations of the disk platter, which on a 7200RPM disk drive limits you to about 60 transactions per second. http://www.sqlite.org/faq.html#q19
one INSERT INTO Entry(Entry) VALUES ('enrtry1'); INSERT INTO Entry(Entry) VALUES ('enrtry2'); INSERT INTO Entry(Entry) VALUES ('enrtry3'); BEGIN TRANSACTION; INSERT INTO Entry(Entry) VALUES (‘enrtry1’); INSERT INTO Entry(Entry) VALUES (‘enrtry1’); INSERT INTO Entry(Entry) VALUES (‘enrtry1'); COMMIT;
Install Visual Studio • Upgrade ASUS X402C Windows 8 to 8.1 • [email protected]: npm prune --production fails with native addon • [windows] Segmentation fault error during packaging