dlang-community / DCD

The D Completion Daemon is an auto-complete program for the D programming language
GNU General Public License v3.0
349 stars 71 forks source link

Use more adaptive time formatting because many requests finish in 0 milliseconds #658

Closed nordlow closed 3 years ago

nordlow commented 3 years ago

For the sake of better performance diagnostics.

Uses Phobos's elegant time printing. At startup this prints, for instance,

2021-10-10T12:42:28.372 [info] main.d:188:runServer Startup completed in 177 μs and 3 hnsecs

instead of

2021-10-10T12:42:28.372 [info] main.d:188:runServer Startup completed in 0 milliseconds

.

WebFreak001 commented 3 years ago

could introduce issues with programs relying on the stdout output, but in that case they probably should use the dcd:client package instead.

Should still mention this in the changelog when tagged later.

nordlow commented 3 years ago

Should still mention this in the changelog when tagged later.

Where can I edit the changelog?

WebFreak001 commented 3 years ago

there is only a changelog for releases when tagging a version (github release description)

nordlow commented 3 years ago

there is only a changelog for releases when tagging a version (github release description)

Thanks.

PetarKirov commented 3 years ago

@WebFreak001 @nordlow we can create a CHANGELOG.md file and use that in the GH release notes.

WebFreak001 commented 3 years ago

good idea, want to make a PR?

PetarKirov commented 3 years ago

@WebFreak001 TBH, these days I'm overloaded with work-related tasks, so I am not able contribute anything substantial, other than drive-by suggestions.

WebFreak001 commented 3 years ago

I have added it now