Commit 87c9d1a8 authored by Paal Kvamme's avatar Paal Kvamme
Browse files

Enable telemetry also for windows on-prem.

parent 8970b942
Pipeline #55470 passed with stages
in 9 minutes and 6 seconds
......@@ -22,6 +22,7 @@
#include "fancy_timers.h"
#include "environment.h"
#include "file_parallelizer.h"
#include "file_performance.h"
#include <vector>
#include <string>
......@@ -146,6 +147,9 @@ LocalFileWindows::xx_make_instance(const std::string& filename, OpenMode mode, c
if (filename.find("://") == std::string::npos) {
auto file = std::shared_ptr<FileADT>(new LocalFileWindows(filename, mode, iocontext));
// This is a no-op unless enabled by enviroment variables
file = FileWithPerformanceLogger::inject(file, filename);
// The following is to parallelize only decompression and copy-out.
// Unlike the Linux case there is no parallel read at the lowest level.
// Which would have automatically parallelized those two.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment