Repository navigation
Profiling v1.1
Release v1.1
✨ 新功能 (New Features)
- 数据库 (database) :
- 实现数据库写入批处理大小的可配置化,可通过 --db-batch-size 参数进行设置。
- 并发队列 (concurrent_queue) :
- 为 queue_get_size 函数的锁机制,补充了详细的函数注释。
🚀 优化 (Refactoring)
- 代码结构 (code structure) :
- 统一使用 struct profiling_config 替代旧的 profiling_config_t 类型定义,提高了代码的一致性。
- 简化了 db_writer_init 函数的接口,移除了冗余参数,使其更易于使用。
- 更新了 db_writer_init 的函数签名和调用,以适应新的配置结构。
- 代码质量 (code quality) :
- 移除了 main_loop.c 和 query_tool.c 中未使用的头文件,使代码更加整洁。
✨ New Features
- Database :
- Made the database write batch size configurable via the --db-batch-size parameter.
- Concurrent Queue :
- Added detailed comments for the locking mechanism of the queue_get_size function.
🚀 Refactoring
- Code Structure :
- Unified the code to use struct profiling_config instead of the old profiling_config_t type definition for better consistency.
- Simplified the db_writer_init function interface by removing redundant parameters, making it easier to use.
- Updated the function signature and calls of db_writer_init to align with the new configuration structure.
- Code Quality :
- Removed unused header files in main_loop.c and query_tool.c for a cleaner codebase.