forked from magneto-81/DuckDB.NET
-
Notifications
You must be signed in to change notification settings - Fork 1
#15889 duckdb idmv #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
933d752
modifiche per statistics
bc27930
primo impianto rilevamento metriche
319c9bf
primo impianto rilevamento metriche
258461f
review of profiling info and statistics management
e7a31bb
Merge branch 'v1.5.2' into #15889_Duckdb_idmv
97d1f3b
aggiornamento a duckdb 1.5.2 più alcune revisioni
b2af0f1
benchmark dot net project init
b55b126
added benchmark project
61a63cb
Merge branch 'benchmark-baseline' into #15889_Duckdb_idmv
56911b4
adjusted artifact path
8b1a219
Merge branch 'benchmark-baseline' into #15889_Duckdb_idmv
bfb4f4b
benchmark and some rework
e8a3b54
fix init profiling logic
f58b6e6
Refactor and enhance profiling functionality
1bef8e5
Refactor and enhance profiling support in DuckDB
b62ea9b
Add profilingOptions to duplicatedConnection initialization
ea5d5ff
Enhance time utilities and profiling logic
6bd3874
Refactor profiling and add SemVer support
d4a44a9
Refactor profiling and timing utilities
1870144
Refactor profiling and tracing system
120bc73
Bump version to 1.5.2.0-alpha.3
e2f484b
Refactor profiling and enable XML docs generation
096db61
Improve error handling and add profiling test
cd2447b
Bump version to 1.5.2.2-alpha.6 in README and irion.version
e22ba0e
Refactor and enhance profiling and execution tracing
fd36e5c
Add advanced profiling options and metrics threshold
2fb41dc
removed default from ProfilingOptions.MetricsThresholdMS
dd87b13
Add metrics threshold check to StatementProfiler
3130829
Refactor profiling system in DuckDBConnection
12af03b
Update profiling modes and version for release candidate
2ecc984
Refactor profiling logic in DuckDBConnection
a361c1f
readme
fc50722
removed trailing whitespace
30f81a0
removed trailing whitespace
60ea2f8
Refactor query profiling to use integer-based IDs
740e80f
Refactor queryProfilers key type to use int
5ac6ff6
Refactor profiling and improve error handling
0faffe4
Improve TimerUtils and profiling consistency
7b2f5fa
Refactor and extend DuckDB profiling and metrics support
cb15d0d
Improve profiling output handling and add related tests
4332fbe
Make QuerySummaryList nullable and update sample usage
ed53afa
Add Irion.DuckDB.NET.Benchmark project to solution
a66c251
Enhance native library download process with configurable retries and…
a51f1a7
Fix target framework version in benchmark project and improve version…
255cb95
Add support for including release notes in package metadata and enhan…
2a5875a
Update version to 1.5.2.2 and enhance release notes for ProfilingInfo…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
DuckDB.NET.Bindings/NativeMethods/NativeMethods.ProfilingInfo.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| | ||
| namespace DuckDB.NET.Native; | ||
|
|
||
| public partial class NativeMethods | ||
| { | ||
| //https://duckdb.org/docs/current/clients/c/api#profiling-info | ||
| public static partial class ProfilingInfo | ||
| { | ||
|
|
||
| [LibraryImport(DuckDbLibrary, EntryPoint = "duckdb_get_profiling_info")] | ||
| [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])] | ||
| public static partial DuckDBProfilingInfo DuckDBGetProfilingInfo(DuckDBNativeConnection connection); | ||
|
|
||
| [LibraryImport(DuckDbLibrary, EntryPoint = "duckdb_profiling_info_get_value")] | ||
| [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])] | ||
| public static partial DuckDBValue DuckDBProfilingInfoGetValue(DuckDBProfilingInfo info, [MarshalAs(UnmanagedType.LPStr)] string key); | ||
|
|
||
| [LibraryImport(DuckDbLibrary, EntryPoint = "duckdb_profiling_info_get_metrics")] | ||
| [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])] | ||
| public static partial DuckDBValue DuckDBProfilingInfoGetMetrics(DuckDBProfilingInfo info); | ||
|
|
||
| [LibraryImport(DuckDbLibrary, EntryPoint = "duckdb_profiling_info_get_child_count")] | ||
| [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])] | ||
| public static partial ulong DuckDBProfilingInfoGetChildCount(DuckDBProfilingInfo info); | ||
|
|
||
| [LibraryImport(DuckDbLibrary, EntryPoint = "duckdb_profiling_info_get_child")] | ||
| [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])] | ||
| public static partial DuckDBProfilingInfo DuckDBProfilingInfoGetChild(DuckDBProfilingInfo info, ulong index); | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.