Dnia 2022-08-31, o godz. 00:00:41
ag9920 <jingong.w...@gmail.com> napisaƂ(a):

If you are in windows ecosystem exclude your development areas, including
go installation and gocache from antivirus "heuristics". While at last most of 
AV
vendors "discovered" that Go exists and it has its own linker, some dutifully 
sends
out home binary artifacts of anything you compile "for heuristic analysis".
(Second culprit for "dozens of seconds") can be a misconfigured corporate
(or state-wide) proxy.

> Hi, recently I've been trying to make my unit test faster. It seems too 
> much time were spent on initialization. After removing all init() function 
> in relevant packages. The speed was still very slow.It even takes dozens of 
> seconds before entering my real unit test function.

hope this helps,

-- 
Wojciech S. Czarnecki
 << ^oo^ >> OHIR-RIPE

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20220831200300.45bcd96a%40xmint.

Reply via email to