Skip to content

Add serde-1.0.219-threads4 benchmark for the parallel frontend #2141

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 2 commits into from
May 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions collector/compile-benchmarks/REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ path = "serde-1.0.219-new-solver/**"
SPDX-FileCopyrightText = "serde contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "serde-1.0.219-threads4/**"
SPDX-FileCopyrightText = "serde contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "serde_derive-1.0.219/**"
SPDX-FileCopyrightText = "serde contributors"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"git": {
"sha1": "49d098debdf8b5c38bfb6868f455c6ce542c422c"
},
"path_in_vcs": "serde"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/de/value.rs b/src/de/value.rs
index 8f9c0b48..2402c9ec 100644
--- a/src/de/value.rs
+++ b/src/de/value.rs
@@ -37,6 +37,7 @@ macro_rules! impl_copy_clone {

impl<$($lifetime,)* E> Clone for $ty<$($lifetime,)* E> {
fn clone(&self) -> Self {
+ println!();
*self
}
}
56 changes: 56 additions & 0 deletions collector/compile-benchmarks/serde-1.0.219-threads4/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions collector/compile-benchmarks/serde-1.0.219-threads4/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.31"
name = "serde"
version = "1.0.219"
authors = [
"Erick Tryzelaar <erick.tryzelaar@gmail.com>",
"David Tolnay <dtolnay@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A generic serialization/deserialization framework"
homepage = "https://serde.rs"
documentation = "https://docs.rs/serde"
readme = "crates-io.md"
keywords = [
"serde",
"serialization",
"no_std",
]
categories = [
"encoding",
"no-std",
"no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/serde-rs/serde"

[package.metadata.docs.rs]
features = [
"derive",
"rc",
"unstable",
]
rustdoc-args = [
"--generate-link-to-definition",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
]
targets = ["x86_64-unknown-linux-gnu"]

[package.metadata.playground]
features = [
"derive",
"rc",
]

[features]
alloc = []
default = ["std"]
derive = ["serde_derive"]
rc = []
std = []
unstable = []

[lib]
name = "serde"
path = "src/lib.rs"

[dependencies.serde_derive]
version = "1"
optional = true

[dev-dependencies.serde_derive]
version = "1"

[target."cfg(any())".dependencies.serde_derive]
version = "=1.0.219"

[workspace]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading