Skip to content
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

WIP: the tip of my filterx performance efforts #434

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
658731a
filterx/filterx-object: add str() method
bazsi Feb 15, 2025
81cd03a
filterx/func-repr: add repr() function
bazsi Feb 15, 2025
6d5cf0a
libtest: add assert_object_repr_equals() and assert_object_str_equals()
bazsi Feb 16, 2025
81384af
filterx/func-flatten: don't repr() the key, just extract its value
bazsi Feb 15, 2025
d0c9c97
filterx/metrics-labels: use filterx_object_str() instead of repr
bazsi Feb 15, 2025
d2e15a4
filterx: use filterx_object_str() instead of repr where we need a string
bazsi Feb 15, 2025
01de7e7
filterx/object-datetime: add separate str()
bazsi Feb 15, 2025
dbeb9cb
light: add coverage for the repr() function
bazsi Feb 16, 2025
7d9a701
filterx/tests: use helper functions to assert on repr() and str() output
bazsi Feb 16, 2025
5dd2736
filterx/json-repr: add json-repr module to implement JSON based seria…
bazsi Feb 13, 2025
e6168cf
filterx/json-repr: fix comma insertion at the beginning of the string
bazsi Feb 15, 2025
d392d4c
filterx/json-repr: fix double representation
bazsi Feb 15, 2025
4a78d4b
filterx/json-repr: for unknown types, use map_to_json() in filterx_ob…
bazsi Feb 15, 2025
3f37b9f
filterx/object-primitive: fix double repr method to generate JSON lik…
bazsi Feb 15, 2025
06e6361
Merge branch 'filterx-add-object-str-method' into tip/axodepot
bazsi Feb 24, 2025
b77adc3
Merge branch 'filterx-json-repr' into tip/axodepot
bazsi Feb 24, 2025
ffcb1f0
filterx: tightly couple filterx-object/ref
bazsi Feb 19, 2025
de662c1
filterx: native dict/list types
bazsi Feb 14, 2025
0b6c969
filterx/expr-function: simple functions should get unmarshalled values
bazsi Feb 19, 2025
c674eee
filterx/tests: use dict instead of json for testing
bazsi Feb 13, 2025
eb045a9
filterx/grammar: use native dict/list types for generators by default
bazsi Jan 25, 2025
9fb9ddc
filterx: move cache_json_file() implementation to the core
bazsi Feb 14, 2025
1fa6a6b
filterx/func-cache-json-file: use dict/list
bazsi Feb 15, 2025
5c1c5d5
filterx: make json/json_array() an alias to dict/list()
bazsi Feb 14, 2025
67d823f
mergfe: ref based modification tracking
bazsi Feb 14, 2025
f753900
filterx/object-message-value: unmarshal json/list values into dict/list
bazsi Feb 19, 2025
b60694d
filterx/filterx-scope: make dirty tracking more accurate
bazsi Jan 5, 2025
a866688
Revert "filterx/filterx-scope: make dirty tracking more accurate"
bazsi Jan 26, 2025
e1d67e8
WIP: unset-empties targets list as a hashtable
bazsi Jan 25, 2025
7f0edbd
Revert "WIP: unset-empties targets list as a hashtable"
bazsi Jan 25, 2025
59126b8
merge: source extraction for LogPipe
bazsi Jan 11, 2025
2b6fd01
logpipe: move pipe_next member right after queue
bazsi Jan 12, 2025
6d09ae2
logpipe: add optimize() method
bazsi Jan 12, 2025
cbaa18f
Revert "logpipe: add optimize() method"
bazsi Feb 10, 2025
0522b41
merge: getattr opt
bazsi Jan 9, 2025
df29641
Revert "merge: getattr opt"
bazsi Jan 11, 2025
83b84f3
merge: func_keys to use list
bazsi Feb 20, 2025
6653bcb
merge: func-vars eliminate json
bazsi Feb 20, 2025
bdb1cd5
grpc: eliminate the use of JSONs
bazsi Feb 20, 2025
7aac8fa
merge: otel field
bazsi Feb 20, 2025
699639c
merge: object extractor get rid of json extraction
bazsi Feb 20, 2025
eeef131
merge: parse-csv
bazsi Feb 20, 2025
4ad3607
merge: pbusub
bazsi Feb 20, 2025
be047b7
merge: dict-interface
bazsi Feb 20, 2025
6a316b6
mergE: sdata
bazsi Feb 20, 2025
945f702
merge: filterx-globals
bazsi Feb 20, 2025
d0a6d30
merge: grammar
bazsi Feb 20, 2025
dfdb06c
merge: assign
bazsi Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ add_subdirectory(secret-storage)
add_subdirectory(logthrsource)
add_subdirectory(logthrdest)
add_subdirectory(signal-slot-connector)
add_subdirectory(adt)

set(LIB_SUBDIR_HEADERS
${ACK_TRACKER_HEADERS}
Expand Down Expand Up @@ -440,7 +439,6 @@ install(FILES ${CSV_SCANNER_HEADERS} DESTINATION include/syslog-ng/scanner/csv-s
install(FILES ${LOGTHRDEST_HEADERS} DESTINATION include/syslog-ng/logthrdest)
install(FILES ${LOGTHRSOURCE_HEADERS} DESTINATION include/syslog-ng/logthrsource)
install(FILES ${SIGNAL_SLOT_CONNECTOR_HEADERS} DESTINATION include/syslog-ng/signal-slot-connector)
install(FILES ${ADT_HEADERS} DESTINATION include/syslog-ng/adt)

set(TOOLS
merge-grammar.py
Expand Down
4 changes: 1 addition & 3 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ include lib/logthrdest/Makefile.am
include lib/signal-slot-connector/Makefile.am
include lib/multi-line/Makefile.am
include lib/perf/Makefile.am
include lib/adt/Makefile.am

LSNG_RELEASE = $(shell echo @PACKAGE_VERSION@ | cut -d. -f1,2)

Expand Down Expand Up @@ -312,8 +311,7 @@ lib_libsyslog_ng_la_SOURCES = \
$(logthrsource_sources) \
$(logthrdest_sources) \
$(signal_slot_connector_sources) \
$(perf_sources) \
$(adt_sources)
$(perf_sources)

lib_libsyslog_ng_la_CFLAGS = \
$(AM_CFLAGS) \
Expand Down
10 changes: 0 additions & 10 deletions lib/adt/CMakeLists.txt

This file was deleted.

12 changes: 0 additions & 12 deletions lib/adt/Makefile.am

This file was deleted.

86 changes: 0 additions & 86 deletions lib/adt/ilist.h

This file was deleted.

204 changes: 0 additions & 204 deletions lib/adt/iord_map.c

This file was deleted.

Loading