| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-01-29 | refactor: improve Go best practices compliance | Paul Buetow | |
| - Add explicit interface satisfaction checks (var _ Interface = (*Type)(nil)) for compile-time verification: - TurboWriter implementations (DirectTurboWriter, TurboChannelWriter) - Processor implementations (GrepLineProcessor, ChannellessLineProcessor) - Parser implementations (genericParser, csvParser, genericKVParser, custom parsers, mimecastParser) - Logger implementations (file, stdout) - Handler implementations (ServerHandler, ClientHandler) - Connector implementations (Serverless, ServerConnection) - SSH callback implementations (KnownHostsCallback) - Improve error handling with context wrapping (%w): - SSH operations: GeneratePrivateRSAKey, Agent - Query parsing: Query.parse - SSH client connections: dial, session, handle methods - Fix receiver consistency: - Convert Query.String() from value to pointer receiver - Convert Outfile.String() from value to pointer receiver - Convert all KnownHostsCallback methods to pointer receivers - Convert mapCommand.Start() to pointer receiver - Reorganize file structure for better clarity: - internal/io/dlog/dlog.go: Move type definition before public functions - internal/mapr/token.go: Reorganize helper functions after public ones - Add documentation comments: - Query.String() method - Outfile.String() method - Regex.String() method - Improve config variable documentation All unit tests and integration tests pass. Amp-Thread-ID: https://ampcode.com/threads/T-019c0b08-0eeb-705d-a1f7-31bb764b659a Co-authored-by: Amp <amp@ampcode.com> | |||
| 2025-07-01 | perf: optimize turbo mode for 2.87x faster serverless performance | Paul Buetow | |
| Major performance improvements in turbo mode: - Fixed trace logging overhead by adding early level checks before expensive runtime.Caller() operations - Improved buffering strategy by removing forced immediate flush in serverless mode - Turbo mode now 2.87x faster (was 3-5x slower before optimization) Changes: - internal/io/dlog/dlog.go: Added early return in Trace() and Devel() when logging disabled - internal/server/handlers/turbo_writer.go: Removed serverless immediate flush condition Performance results: - Before: Turbo mode was 3-5x slower than non-turbo mode - After: Turbo mode is 2.87x faster (65% improvement) - All integration tests pass Added comprehensive benchmarking tools in benchmarks/ directory 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> | |||
| 2024-03-29 | lint warnings | Paul Buetow | |
| 2021-12-21 | remove year from datestamp | Paul Buetow | |
| 2021-11-02 | Bugfix: Dealing correctly with files without newline characters, also add ↵ | Paul Buetow | |
| more tests | |||
| 2021-10-24 | Fix DCat color test. | Paul Buetow | |
| 2021-10-12 | Update JSON-schema to reflect all recent config file changes. | Paul Buetow | |
| 2021-10-10 | vetting and linting and some code restyling | Paul Buetow | |
| 2021-10-10 | add dtail health check unit test. | Paul Buetow | |
| 2021-10-09 | refactor | Paul Buetow | |
| 2021-10-06 | move health check to separate client binary | Paul Buetow | |
| 2021-10-06 | enable faster shutdown - useful for dgrep/dmap and dcat commands | Paul Buetow | |
| 2021-10-05 | Paul Buetow | ||
| 2021-10-03 | add dmap tests | Paul Buetow | |
| 2021-10-02 | reduce logging in serverless mode | Paul Buetow | |
| 2021-10-02 | Client default log dir is ~/log | Paul Buetow | |
| 2021-10-02 | add more default fields to MAPREDUCE | Paul Buetow | |
| 2021-10-02 | can have daily and normal file log rotation | Paul Buetow | |
| 2021-10-02 | refactor config reader - also looks in additional search paths for config ↵ | Paul Buetow | |
| file unless NONE is specified | |||
| 2021-10-02 | move args to config package | Paul Buetow | |
| logger package rewrite as dlog | |||
