malloc() -> my_malloc() does not lead to performance gain
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
[WIP]
Use PageCache::fetch() istead of Page::read()!
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
Added page cache code
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
now pcacheTest passes
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
added small test
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
debug
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
sqlite_formatTest passes
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
todo mod
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
memset() for 0-fill in PageCache::refresh() revealed to be slow.
For testing purpose, page cache size has been decreased.
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
passed all unit tests
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
update TODOs
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
compiles but not passes tests
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
- add run script
- debugging

Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
update run script
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
update run script
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
- update todo
- t/03-fullscan fails
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
specify my.cnf in test cases
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
fix wrong usage of assert()
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
adds benchmark
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>
adds benchmarks
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>